almost done game logic