Build custom Wits & Wagers games.
- Fork this repo.
- Copy from
template.json
. - Follow this format for your file name:
<name><yyyy><mm><dd>.json
. Example:dickson20210919.json
. - Fill in your clues and answers.
- Create a pull request. Your commits should automatically trigger a run of my validation script.
The schema is:
{
clues: Array<Clue>;
}
interface Clue {
// Question
question: string;
// Answer, which must be a number.
answer: number;
// A link players can visit to read more about your answer.
source: string;
// Optional: The minimum value (inclusive) a user can enter.
min_value?: number;
// Optional: The maximum value (inclusive) a user can enter.
max_value?: number;
}