JAVASCRIPT · MIT LICENSE · NO RUNTIME DEPENDENCIES

A small puzzle.
Your own project.

Six reproducible puzzle generators for browser games and learning demos. Get a question, render it your way, and check the answer locally.

No sign-up to try it. Edit the example in your browser, or download one HTML file to use on your computer.

ONE GENERATOR, TWO FUNCTIONS

const question = makeQuestion(
  'math', 0, 'my-demo', 2
);

// Render the prompt and options.
// Collect a selected option index.
const correct = evaluateAnswer(
  question, selectedIndex
);

The starter includes the library and a small working interface. Change the rendering section to make it yours.

Reproduce a question

Keep the version, seed, index and difficulty to replay the same output. Useful for sharing a bug or testing your interface.

Use the pieces you need

Math, number sequences, words, memory, color and odd-one-out tasks. Plain question objects work with your own interface.

Inspect and adapt

Readable JavaScript, answer explanations, TypeScript declarations and an MIT license. The runtime makes no network requests.

Try one small integration

Could you use one generator in a small project? Tell us what worked or where you got stuck.

This is a new project. Specific feedback from an actual attempt helps shape what comes next.

Follow the 10-minute integration trial →
  1. Open the integration lab or download the starter.
  2. Edit one prompt, layout or control in your copy.
  3. Share what you tried, what worked, and one missing piece.

Give integration feedback →

Feedback opens a public GitHub issue. A public link to your project is optional.