game logic complete