Chris Judd▸ Task 6: Algorithms & Programming


Year 5 students used Microworlds to design an arcade-style game based on the old game 'Frogger'. They created a graphic environment using the graphics centre, and designed a controller that successfully moves the bee around the screen. The hazards (graphic objects going across the screen) were set in motion by pressing the 'Go' button that students had created and written a procedure for. The idea of the game is to get the bee to successfully negotiate the hazards and reach the safety of the hive at the top of the screen.

Students still needed to design what would happen if the bee touched one of the hazards. To make the game fun to play, a reset of the game needed to happen, which involved the bee being returned to its starting position to recommence its journey to the safety of the hive.

The series of instructions that students would give in natural language would resemble the following:

Move the bee N,S,E or W with controller arrows.
If a hazard is touched, send a message screen "Oh! You died! Try again."
Return to your starting position {x and y coordinates used}.

Using this set of instructions, students used their prior knowledge of creating a procedure in the LOGO programming language to create the following procedure:

to bounceback
announce [Oh! You died! Try again.] setpos [0 -284]end

Some basic LOGO terms such as setpos and announce were introduced to the students. The procedure bounceback was then placed in the onTouching field in the bee's backpack. #cserTask6


G+ Comments

no plus ones, 0 comments

    + There are no comments

    Add yours

    This site uses Akismet to reduce spam. Learn how your comment data is processed.