Zmiany

Skocz do: nawigacji, wyszukiwania

Module 3 - The “Cat in a Maze” Project

Dodane 629 bajtów, 08:30, 7 lip 2015
/* Designing a game involving going through a maze */
'''''* When the character has reached the exit, play a sound signal and display the word “Exit!,” and then:''''' <br/>
'''''* Stop everything.''''' <br/>
 
We recap that we have just created the first version of the rule (algorithm) of our game – that is, how the computer is to react when a player presses certain keys (controls the character in the game), and how it is to react to specific events (e.g. reaching the exit or making an attempt to go through a wall). <br/>
 
'''We ask the following question:''' Which of the above tasks can we already accomplish? <br/>
''– Move the character (we do not yet know how far the character is to be moved)''
''– Rotate the character 90 degrees to the left or right by pressing a given key''
''– Change the stage background. ''
568
edycji