       @DbHelper.createGame @topic, (res)=>
         @gameId = res
 
-      @sendGameStarted()
+      @sendGameStarted(@io.sockets)
       if @gameLength
           cb = () =>
               @gameOver()

      @topic = topic
      @io.sockets.emit "new topic", @topic

  sendGameStarted: () ->
      elapsed = Date.now() - @startTime
      @io.sockets.emit "game started",
          gameLength: @gameLength
          elapsed: elapsed
          players: (player.name for player in @players)

  addPlayer: (newPlayer) ->
    @players.push(newPlayer)
    if @start
      @sendGameStarted(newPlayer.socket)

  addWord: (player, word) ->
    # if moderator has not started the game
