Millionaire

Configuration

JSON
{
  "options": {
    "randomize": true,
    "deadly": true,
    "levels": 3,
    "questions": {
      "en": [
        {
          "id": 1,
          "question": "What is the capital of France?",
          "answers": [
            {
              "id" : 1,
              "answer": "Paris",
              "correct": true
            },
            {
              "id" : 2,
              "answer": "London",
              "correct": false
            },
            {
              "id" : 3,
              "answer": "Berlin",
              "correct": false
            },
            {
              "id" : 4,
              "answer": "Brussels",
              "correct": false
            }
          ],
          "explanation": [
            "The capital of France is Paris."
          ]
        },
        {
          "id": 2,
          "question": "What is the color of Napoleon's white horse?",
          "answers": [
            {
              "id" : 1,
              "answer": "White",
              "correct": true
            },
            {
              "id" : 2,
              "answer": "Black",
              "correct": true
            },
            {
              "id" : 3,
              "answer": "Brown",
              "correct": false
            },
            {
              "id" : 4,
              "answer": "Blond",
              "correct": false
            }
          ],
          "explanation": [
            "Napoleon's white horse is, as its name suggests, white."
          ]
        },
        {
          "id": 3,
          "question": "How many days are in a leap year?",
          "answers": [
            {
              "id" : 1,
              "answer": "366",
              "correct": true
            },
            {
              "id" : 2,
              "answer": "365",
              "correct": false
            },
            {
              "id" : 3,
              "answer": "364",
              "correct": false
            },
            {
              "id" : 4,
              "answer": "367",
              "correct": false
            }
          ],
          "explanation": [
            "A leap year has 366 days."
          ]
        },
        {
          "id": 4,
          "question": "What is the largest ocean in the world?",
          "answers": [
            {
              "id" : 1,
              "answer": "The Pacific Ocean",
              "correct": true
            },
            {
              "id" : 2,
              "answer": "The Indian Ocean",
              "correct": false
            },
            {
              "id" : 3,
              "answer": "The Atlantic Ocean",
              "correct": false
            },
            {
              "id" : 4,
              "answer": "The Arctic Ocean",
              "correct": false
            }
          ],
          "explanation": [
            "The largest ocean in the world is the Pacific Ocean."
          ]
        }
      ],
      "fr": [
        {
          "id": 1,
          "question": "Quelle est la capitale de la France ?",
          "answers": [
            {
              "id" : 1,
              "answer": "Paris",
              "correct": true
            },
            {
              "id" : 2,
              "answer": "Londres",
              "correct": false
            },
            {
              "id" : 3,
              "answer": "Berlin",
              "correct": false
            },
            {
              "id" : 4,
              "answer": "Bruxelles",
              "correct": false
            }
          ],
          "explanation": [
            "La capitale de la France est Paris."
          ]
        },
        {
          "id": 2,
          "question": "Quelle est la couleur du cheval blanc de Napoléon ?",
          "answers": [
            {
              "id" : 1,
              "answer": "Blanc",
              "correct": true
            },
            {
              "id" : 2,
              "answer": "Noir",
              "correct": true
            },
            {
              "id" : 3,
              "answer": "Marron",
              "correct": false
            },
            {
              "id" : 4,
              "answer": "Blond",
              "correct": false
            }
          ],
          "explanation": [
            "Le cheval blanc de Napoléon est, comme son nom l'indique, blanc."
          ]
        },
        {
          "id": 3,
          "question": "Combien de jours compte une année bissextile ?",
          "answers": [
            {
              "id" : 1,
              "answer": "366",
              "correct": true
            },
            {
              "id" : 2,
              "answer": "365",
              "correct": false
            },
            {
              "id" : 3,
              "answer": "364",
              "correct": false
            },
            {
              "id" : 4,
              "answer": "367",
              "correct": false
            }
          ],
          "explanation": [
            "Une année bissextile compte 366 jours."
          ]
        },
        {
          "id": 4,
          "question": "Quel est le plus grand océan du monde ?",
          "answers": [
            {
              "id" : 1,
              "answer": "L'océan Pacifique",
              "correct": true
            },
            {
              "id" : 2,
              "answer": "L'océan Indien",
              "correct": false
            },
            {
              "id" : 3,
              "answer": "L'océan Atlantique",
              "correct": false
            },
            {
              "id" : 4,
              "answer": "L'océan Arctique",
              "correct": false
            }
          ],
          "explanation": [
            "Le plus grand océan du monde est l'océan Pacifique."
          ]
        }
      ],
      "nl": [
        {
          "id": 1,
          "question": "Wat is de hoofdstad van Frankrijk?",
          "answers": [
            {
              "id" : 1,
              "answer": "Parijs",
              "correct": true
            },
            {
              "id" : 2,
              "answer": "Londen",
              "correct": false
            },
            {
              "id" : 3,
              "answer": "Berlijn",
              "correct": false
            },
            {
              "id" : 4,
              "answer": "Brussel",
              "correct": false
            }
          ],
          "explanation": [
            "De hoofdstad van Frankrijk is Parijs."
          ]
        },
        {
          "id": 2,
          "question": "Wat is de kleur van het witte paard van Napoleon?",
          "answers": [
            {
              "id" : 1,
              "answer": "Wit",
              "correct": true
            },
            {
              "id" : 2,
              "answer": "Zwart",
              "correct": true
            },
            {
              "id" : 3,
              "answer": "Bruin",
              "correct": false
            },
            {
              "id" : 4,
              "answer": "Blond",
              "correct": false
            }
          ],
          "explanation": [
            "Het witte paard van Napoleon is, zoals de naam al doet vermoeden, wit."
          ]
        },
        {
          "id": 3,
          "question": "Hoeveel dagen zitten er in een schrikkeljaar?",
          "answers": [
            {
              "id" : 1,
              "answer": "366",
              "correct": true
            },
            {
              "id" : 2,
              "answer": "365",
              "correct": false
            },
            {
              "id" : 3,
              "answer": "364",
              "correct": false
            },
            {
              "id" : 4,
              "answer": "367",
              "correct": false
            }
          ],
          "explanation": [
            "Een schrikkeljaar heeft 366 dagen."
          ]
        }
      ]
    },
    "default_lang": "fr"
  },
  "texts": {
    "en": {
      "next": "Next question",
      "end": "Continue"
    },
    "fr": {
      "next": "Question suivante",
      "end": "Continuer"
    },
    "nl": {
      "next": "Volgende vraag",
      "end": "Doorgaan"
    }
  },
  "sounds": {},
  "images": {
    "rewards": {}
  }
}

Options

Key
Type
Explanation
Default
randomize

Boolean

Randomize the questions asked to the player (order, and selection if more questions available than levels).

true

deadly

Boolean

Game stops after one wrong answer.

true

levels

Integer

Number of questions to answer. If less questions than the selected amount, won't be used.

3

questions > question

String

Question to be asked to the player.

"Q1, Q2..."

answers > answer

String

Answers to the question (should have at least two per question).

"A1, A2, A3..."

answer > correct

Boolean

Is the answer the right one (can have more than one good answer per question).

true / false / false

explanation

String (accepts basic HTML)

Optional (screen will be skipped if no explanation). Used to give the right answer to the question, with some explanation.

"E1, E2..."

default_lang

String

[PTF] Default language if unmatched language.

"fr"

texts > next

String

Text of the button on the optional explanation screen (if game isn't over).

"Next question"

texts > end

String

Text of the button on the optional explanation screen (if game is over).

"Continue"

Assets

Key
Size
Explanation
Default

Last updated