Added game logic allowing players to join/disconnect from games.