worked on game logic
creating and joining a game