     @possiblePlayers.push(clientId)
 
   submitImpossible: (clientId) ->
+    if !@challengeMode
+      throw "Can't submit opinion, not currently challenge mode"
     if (clientId in @possiblePlayers) || (clientId in @impossiblePlayers) || (clientId == @challenger)
       throw "Already stated your opinion"
     @impossiblePlayers.push(clientId)

      @nextTurn()

  nowChallenge: (clientId) ->
    if !validateChallenge(clientId)
      throw "Can't make challenge, you've just moved"
    @challengeMode = true

    forbidden: []
    currentPlayer: 0 #this tells us the index of the player who's turn it is, and is automatically incremented after each resource move
  
  constructor: (players, gameNumber, gameSize) ->
    @players = players
    @gameNumber = gameNumber
    if gameSize? then @playerLimit = gameSize
    @nowJsGroupName = "game#{gameNumber}"
    @allocate()

