Skip to content

Configuration

Avi Aryan edited this page Dec 14, 2015 · 3 revisions

This page provides help on how you can configure Brain Games.

There are 4 main settings you can change.

  1. gameTime - Number of seconds a game should last
  2. positive - Score given for each correct answer
  3. negative - Score given for each wrong answer
  4. numQuestions - Number of questions to be asked

You can configure these settings for each game individually.

    "_dictionary": {
        "numQuestions": 5,
        "scores": {
            "2015-12-11": 30,
            "2015-12-12": 100
        }
    },
    "_scrabble": {
        "gameTime": 30,
        "negative": -5,
        "scores": {
            "2015-12-09": 180,
            "2015-12-10": 160,
            "2015-12-12": 140
        }
    },
    "gameTime": 45,
    "negative": -20,
    "positive": 10
}

In the above example, the game time of Scrabble has been set to 30 seconds and the number of questions to be asked in Dictionary Game is set to 5.

  • As Dictionary Game has no time limit, so gameTime setting has no effect on it. Similary other games like Scrabble, Color Match are independent of the numQuestions setting.
Clone this wiki locally