/custom-wits-wagers

Custom Wits & Wagers Games. Play them at TBD.

Primary LanguageJavaScript

Custom Wits & Wagers

Build custom Wits & Wagers games.

Directions

  1. Fork this repo.
  2. Copy from template.json.
  3. Follow this format for your file name: <name><yyyy><mm><dd>.json. Example: dickson20210919.json.
  4. Fill in your clues and answers.
  5. Create a pull request. Your commits should automatically trigger a run of my validation script.

Schema

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;
}