Zmiany

Skocz do: nawigacji, wyszukiwania

Module 3 - The “Cat in a Maze” Project

Dodane 3 bajty, 08:19, 7 lip 2015
/* Designing a game involving going through a maze */
''What button are we going to use to make our character go forward? Should it move forever?'' <br/>
''– We guide the students to find the answer “No,” because it will collide with a maze wall.'' <br/>
 
''How many steps should it now take?'' <br/>
''– Enough to move from one square to the next, adjacent one. We discuss what this means, pointing to the maze drawing on the board. Together we reach the conclusion that the character should move forward a number of steps that is equal to the length of the side of a single field in our maze.'' <br/>
 
''In this case, should we choose to control the character with the computer mouse or the keyboard?'' <br/>
''– In this game it will be easier to control the character using the keyboard.''<br/>
 
''After discussing which key should make the character move by one square, we write on the board what we have agreed on, for example:''<br/>
'''* ''When the up arrow key is pressed, go forward by “one square.''”'''
568
edycji