game logic completed