Shooty Space Rocks

Enemy AI

One thing I am pleased with from this game is the enemy AI algorithm. As you can see in the video the enemy does their best to dodge the asteroids, using the function written below.

Menu’s and State Machine

Another thing I’m pleased with is the game flow through the use of a state machine, each menu item is a state with an additional play state. This allows for easy navigation and game flow.