Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/brianyu28/jeopardy
- Owner: brianyu28
- Created: 2020-01-20T04:21:06.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-06-08T02:20:17.000Z (over 1 year ago)
- Last Synced: 2023-06-08T03:25:29.231Z (over 1 year ago)
- Topics: game, jeopardy, quiz, study, trivia
- Language: TypeScript
- Homepage: https://jeopardy.brianyu.me
- Size: 1.68 MB
- Stars: 16
- Watchers: 4
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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")