Skip to content

whackamole

Parodper edited this page Mar 30, 2019 · 1 revision

WHACKAMOLE Program

The mole positions correspond to the numerical keys:

|31|32|33|
|21|22|23|
|35|36|37|

Variables

  • A: Mole position on the horizontal axis
  • B: Mole position on the vertical axis
  • C: Key input
  • D: Points
  • E: Key coordenate on the horizontal axis
  • F: Key coordenate on the vertical axis
  • G: Speed

Gotos

  • 0: Main loop

Example

+----------------+
|[ ][ ][ ]    5  |
|[ ][ ][ ]       |
|[ ][ ][0]       |
|                |
+----------------+
Clone this wiki locally