Debugging the game logic