game logic in place