My final project attempts to imitate the popular arcade game “Cube Runner”. The object of this game is guide an arrow through an infinite field of cubes, moving left and right as necessary to avoid them and racking up points along the way. The game is over when the arrow touches a cube, and success is therefore determined comparatively by the length of time spent avoiding cubes.
The executable to run this program takes no command-line arguments. The user provides the input to this program through the left and right arrow keys to move the character arrow left and right, respectively. Holding down the keys will result in continuous motion whereas tapping them will result in unit movement.