created basic game structure for starting and joining the game