-
Notifications
You must be signed in to change notification settings - Fork 0
asteroids
Parodper edited this page Jul 17, 2020
·
2 revisions
Objetive: Don't get hit by the Obstacles by pressing [EXE] to move
Example game:
+----------------+
|xxxxxxxxxxxxxxxx|
| > 0 0 |
| 0 0 |
|xxxxxxxxxxxxxxxx|
+----------------+
- A: Ship location
- B: Key pressed
- K: Asteroids dodged
- D, E, G, I: Position on the horizontal axis
- C, F, H, J: Position on the vertical axis
- 0: Main loop
- 1: Keypress handler
- 2: Waits for key to stop beign pressed
- 3: End program