Your browser does not support the canvas tag.

This incompleted tribute to the classic eighties game, Asteroids, will render 10 asteroids that float around at varied speeds and angles. They also wrap around the screen. The program creates a ship based on a png that I found from a pixel art forum (no copyright). The ship currently moves in eight different directions and rotates using the A and D keys. W and S are Used to Speed up and Slow down the ship. Pressing spacebar will activate a currently broken set of code that will attempt to draw a bullet along the screen. This code was previously working but was not written with very thoughtful object-oriented programming in mind and unfortunately had to be redone.

Back to the CS Projects Page