OpSet Math Game

After the New York Times removed the Digits game from their roster, I took it upon myself to create my own enhanced version of the game. The game consists of reaching a target number by using arithmentic to combine a given set of other numbers. I used Nuxt and Tailwind CSS to implement the UI and logic. Notably, while the original provided one set of numbers, or game boards, every day, this version generates new puzzles on demand.

While getting a basic game board generator working was fairly simple, it was actually somewhat tricky to make it performant enough to be fun yet still random enough not to fall into predictable patterns. The performance issue was solved by moving the board and solution generation into a background pool of web workers to be called when needed and porting an efficient permutation algorithm into JavaScript.

© 2026 Shahked Bleicher. All rights reserved.