Show HN: Stop playing my matchstick puzzles, start building your own in seconds

· web · Source ↗

TLDR

  • Mathstick 2 is a browser-based matchstick puzzle game with a Puzzle Maker that generates shareable links for custom challenges.

Key Takeaways

  • Progress is saved locally in the browser; incognito or cleared browser data will wipe it.
  • Levels 1-9 gate progression behind earned sticks, with trophy thresholds scaling from 10 to 100.
  • The Puzzle Maker outputs a URL-encoded puzzle string, enabling direct sharing without accounts or servers.
  • Guaranteed solutions are built into the puzzle engine, distinguishing it from purely user-generated content.

Hacker News Comment Review

  • Builder disclosed the stack as vanilla JS and CSS with Angular used narrowly for a pop menu and dropdown, explicitly avoiding Angular Material to stay lightweight.
  • A commenter surfaced a solution-counting bug by testing INT64_MAX inputs, with the puzzle maker reportedly claiming ~12 identical solutions for a single puzzle, suggesting the solver deduplication logic needs tightening.

Notable Comments

  • @a_t48: Reproduced a bug via INT64_MAX edge-case input; puzzle maker returned ~12 duplicate solutions for one puzzle.

Original | Discuss on HN