Reproduce a question
Keep the version, seed, index and difficulty to replay the same output. Useful for sharing a bug or testing your interface.
JAVASCRIPT · MIT LICENSE · NO RUNTIME DEPENDENCIES
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.
Keep the version, seed, index and difficulty to replay the same output. Useful for sharing a bug or testing your interface.
Math, number sequences, words, memory, color and odd-one-out tasks. Plain question objects work with your own interface.
Readable JavaScript, answer explanations, TypeScript declarations and an MIT license. The runtime makes no network requests.
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 →Feedback opens a public GitHub issue. A public link to your project is optional.