game.json must have the following keys.
- A
gamekey that contains an object with:- A
singlekey that contains an array of categories, where each category is an object containing:- A
categorykey that contains the name of the category - A
clueskey that contains an array of clues, where each clue is an object containing:- A
valuekey that contains the integer dollar value of the clue - A
cluekey that contains the clue - A
solutionkey that contains the solution - An optional
dailyDoublekey, set totrueif the clue is a daily double - An optional
htmltag to treat the clue and solution text as HTML - An optional
chosenkey, set totrueif the clue has already been chosen (should be omitted if starting game from the beginning)
- A
- A
- A
doublekey that contains an array of categories, structured like thesingleround. - A
finalkey that contains an object with:- A
categorykey that contains the Final Jeopardy category - A
cluekey that contains the Final Jeopardy clue - A
solutionkey that contains the Final Jeopardy solution
- A
- A
- An optional
playerskey that contains an array of players, where each player is an object containing:- A
namekey with the player's name - A
scorekey with the player's score (should initially be 0) - A
correctkey with the player's number of correct responses so far (should initially be 0) - An
incorrectkey with the player's number of incorrect responses so far (should initially be 0)
- A
- An optional
roundkey indicating which round to begin with (should initially be "single")
This allowes you to include images for cues locally without needing to host them. To get started create a .zip file which the following layout:
my-jeopardy-bundle.zip
|- game.json
|- images/
|- daily_double.png
|- presidents.jpg
- The zip must contain a
game.jsonfile somewhere in your Bundle. - Place every image inside the bundle. All non-
game.jsonfiles can be used in thegame.json - In
game.json, set a clue's image to the relative path prefixed with$, e.g."image": "$images/daily_double.png". - When the bundle is uploaded, the loader replaces every
$reference with an in-memory object URL.