adding the create room function before starting the game