Update implementation of game.