implementing state pattern for GameImpl