added game logic for game to start automatically once connected. added gamestates.