Asteroid Defender
We created the game Asteroid Defender, where Asteroids fall from the top of the screen, and you control the lone defender of Earth to put a stop to the Asteroid rampage.
The difficulty increases as you go, and becomes near impossible within a couple minutes. You have 2 lives.
The Joystick controls the 'shooter' and the push button controls when you fire.
Joystick | mbed |
---|---|
Vcc | Vout |
Vert | p17 |
Horz | p19 |
Gnd | Gnd |
Pushbutton | mbed |
---|---|
In | p21 |
Out | Gnd |
Import programAsteroidDefender
AsteroidDefender
Please log in to post comments.