JTF
> Demo Gallery
> assignments
> Asteroids
|
The Asteroids program uses the following key bindings:
Key | |
Left | A |
Right | D |
Thrust | S |
Fire | W |
One of the advantages of Asteroids as an assignment is that the objects on the screen form an easily understood graphical hierarchy in which the space ship, the asteroids, and the bullets all share the same properties of motion.
A similar assignment was described by Dan Leyzberg and Art Simon in
the 2008 entries in the Nifty Assignments collection (http://nifty.stanford.edu/
).