Programming: Asteroids

animated gif of asteroids

The above is an animated gif of gameplay from the version of Asteroids I coded from scratch in processing.

The game makes use of and implements real physics mechanics by using acceleration and velocity to determine distance and movement of the player, bullets, and asteroids. It also implements collision detection on bullet-v-asteroid collisions as well as asteroid-v-player collisions. It also implements Asteroids' original drift mechanic on the player to simulate the feeling of actually being in space by conserving player momentum.