I built a single-file math crossword game with 5 puzzles (Algebra, Geometry, Numbers, Statistics, Functions) and 100 clues that runs entirely in your browser - no install, no server, no dependencies.
The hardest part was getting the keyboard navigation to feel natural: arrow keys move you through a word, Tab flips between Across and Down, and typing auto-advances to the next cell without letting you wander into random squares. I also had to manually sort and number every clue start position, which was tedious but necessary since I didn’t write an auto-grid generator.
I’m proud that it works completely offline and still feels like a real app. The instant check button (green for right, red for wrong, yellow for empty) and the reveal-letter hint make it forgiving enough that you actually want to keep playing instead of rage-quitting.
To test it, just open index.html in any browser - Chrome, Safari, Firefox, whatever. Click a square to start typing, use Tab to switch direction, and hit the Check button when you want feedback. That’s it.
- 1 devlog
- 3h