Developer builds config-driven quiz engine in vanilla JS with no build tools
A developer has released RoadQuest, a lightweight quiz engine built in plain JavaScript that requires no bundler, framework, or npm installation. The engine runs from just two files dropped onto a static host, accepting a configuration object that defines questions, options, correct answers, and optional badges or explanations. State and content are kept strictly separate, so the engine remains unaware of quiz subject matter and can be rebranded entirely by swapping a config file rather than modifying source code. Scoring rewards streaks and first-try accuracy, while wrong answers allow immediate retries without blocking level progression. The engine was first used in a nine-checkpoint driver-training quiz for TruckNav and its source code is publicly available on GitHub.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.



Discussion (0)
Log in to join the discussion and vote.
Log in