Added game state management.
Signed-off-by: rkrymer <rkrymer@gmail.com>