debug game logic