State machine functionality for the GameManager script
Pong version 1.0