finish up game logic