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")