C++ Snakes game (WIP) A neural network learns to play snakes... Stage 1: Making the game At the entry main creates class ::Game (which is a basic State Machine), pushes state states::Game on to its stack and runs the main loop of the State Machine.