synchronizing game logic