Fix game logic
fix game logic