I run a small review site and wanted something more useful than another article: four short quiz games that give a real answer at the end. They are plain HTML, CSS and JavaScript. No framework, no bundler, no backend. Here is what actually mattered while building them, and the games themselves if you want to poke at them.
One engine, four data files. The first version had four separate scripts and four copies of the scoring logic. That lasted about a day. Now there is a single game-engine.js that takes a JSON question set: questions, options, which option is right, and a short explanation shown after each answer. Adding a game means adding data, not code. The four games are a Spanish false-friends quiz, a woodworking mistake quiz, a piano key finder and a used-car red-flags quiz, and all four run on the same file.
Show the explanation, not just the score. The first build scored answers and showed a total. Nobody cared. What changed behaviour was showing a one-line reason after every question, right or wrong, so the game teaches something even when you lose. That also made the result screen easy to write, because the reasons are already in the data.
Keyboard and focus handling is most of the work. A quiz that only works with a mouse is a quiz people abandon on a phone. Every option is a real button, the focus ring stays visible, and the next question moves focus to the first option so a keyboard user never has to hunt for it.
Email is optional, and it should look optional. Results can be sent by email. The field is there, but the result is shown on screen first, the address is not required to see your score, and the "tips and offers" checkbox is a separate, unchecked box that defaults to no. If you are building anything similar: making the marketing box independent of the email field cost nothing and removed the worst kind of signup dark pattern.
Static hosting is enough. Cloudflare Pages, one folder, no build command. The whole site deploys as a zip upload. No database, no server, no cold starts. For four games that a person plays once, that is the right amount of infrastructure.
The four games are here if you want to see the pattern in action:
- All four games: https://learnfasthub.pages.dev/games/
- Spanish false friends: https://learnfasthub.pages.dev/games/spanish-false-friends-game/
- Woodworking mistakes: https://learnfasthub.pages.dev/games/woodworking-mistake-game/
- Piano keys: https://learnfasthub.pages.dev/games/piano-key-finder-game/
- Used-car red flags: https://learnfasthub.pages.dev/games/used-car-red-flags-game/
They are my own pages. The site carries affiliate links on its review pages; the games are free, need no account, and have no affiliate links in them. If you build something similar, the single-engine-plus-data-file pattern is the part I would keep.


