Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/brianyu28/jeopardy

Online Jeopardy gameplay for custom trivia games and quizzes
https://github.com/brianyu28/jeopardy

game jeopardy quiz study trivia

Last synced: 1 day ago
JSON representation

Online Jeopardy gameplay for custom trivia games and quizzes

Awesome Lists containing this project

README

        

# Jeopardy Player

## `game.json` specification

`game.json` must have the following keys.

- A `game` key that contains an object with:
- A `single` key that contains an array of categories, where each category is an object containing:
- A `category` key that contains the name of the category
- A `clues` key that contains an array of clues, where each clue is an object containing:
- A `value` key that contains the integer dollar value of the clue
- A `clue` key that contains the clue
- A `solution` key that contains the solution
- An optional `dailyDouble` key, set to `true` if the clue is a daily double
- An optional `html` tag to treat the clue and solution text as HTML
- An optional `chosen` key, set to `true` if the clue has already been chosen (should be omitted if starting game from the beginning)
- A `double` key that contains an array of categories, structured like the `single` round.
- A `final` key that contains an object with:
- A `category` key that contains the Final Jeopardy category
- A `clue` key that contains the Final Jeopardy clue
- A `solution` key that contains the Final Jeopardy solution
- An optional `players` key that contains an array of players, where each player is an object containing:
- A `name` key with the player's name
- A `score` key with the player's score (should initially be 0)
- A `correct` key with the player's number of correct responses so far (should initially be 0)
- An `incorrect` key with the player's number of incorrect responses so far (should initially be 0)
- An optional `round` key indicating which round to begin with (should initially be "single")