implementation changed to SampleGame.