Finished game logic.