Some server and game logic stuff