 
 
   
-  constructor: (@gameNumber, @name, gameSize, numRounds, throwErrors = true) ->
+  constructor: (@gameNumber, @name, gameSize, numRounds) ->
     # Initalise all variables so that they're object (not prototype) specfific
     
     @playerManager = new PlayerManager()
     
-    @throwErrors = throwErrors
     @goalTree = undefined
     @goalArray = []
     @goalValue = undefined

        return true
    return true


  checkValidAllocationMove: (index, clientId) ->
    if @challengeMode # prevents moves from taking place during challenge mode
      ErrorManager.throw(ErrorManager.codes.moveDuringChallenge, {}, "Can't move during challenge mode")


  # Return a copy of the submitted solutions
  getSubmittedSolutions: () -> @playerManager.submittedSolutions[..]
  # Has at least one person make a solution that solves the goal?
  getAnswerExists: () -> @answerExists
  # Return an array that gives the points for actually making the challenge.
  getRoundChallengePoints: () -> @playerManager.challengePoints[..]
  # Return an array that gives the points for whether they decided with challenge.
  getRoundDecisionPoints: () -> @playerManager.decisionPoints[..]
  # Return an array that gives the points for whether solutions submitted are correct
  getRoundSolutionPoints: () -> @playerManager.solutionPoints[..]



  ###*
   * Once every one has submitted their solutions. It's the end of the round. Add up points.
  ###
  scoreAdder: ->
    # See if we definitely know it's solvable. See if somebody got the goal.
    numPlayers = @getNumPlayers()
