Lucky Numbers turns math loops into FPS enemies in a playable Unity browser game
By GameSlash
Lucky Numbers is a browser-based math shooter where shooting changes numbers instead of removing health, with Claude Code credited for coding support.
Lucky Numbers: Night Before the Grade, an HTML5 first-person math shooter by AUTXDES and lil byxglater for the 2026 Unity Game Jam, arrived on itch.io in November 2026. Its unusual combat mechanic is to rewrite three-dimensional number enemies instead of shooting away hit points. The game is playable in a desktop browser, and the team credits Claude Code for coding assistance and ElevenLabs for music vocals.

Numbers fight back, but shots change their values
A pencil is the player's weapon inside a living notebook. The basic Lucky Shot applies a digit-squaring function to the number it hits. For example, 13 becomes 1² + 3² = 10, then 1² + 0² = 1. Reaching 1 makes the enemy a lucky number and causes an explosion that can trigger other enemies. However, numbers such as 4 can cycle forever through 16, 37, 58, 89, 145, 42 and 20. The Correction action shifts a number by one towards a lucky value to break that loop.
Instead of a purely educational quiz, the developers combine this transformation rule with moving enemies, arena positioning and chain explosions. The page describes special abilities that send waves across graph paper, raise walls and stairs, and deploy an ultimate based on the sine function y = sin x.

A browser game with named bosses
The game presents two specific boss concepts: the Giant 4, representing the mistake that caused the student's failing grade, and the 67 Monolith. A notebook menu explains the mathematical rule and powers. Desktop keyboard and mouse controls include left-click for Lucky Shot, right-click for Correction and number keys for abilities. The creators recommend Chrome or Edge in fullscreen for the best experience.
This is a playable HTML5 build listed as in development. Details come from the original game page and public demo, not from a GameSlash hands-on playtest.

How AI was used, and what designers can reuse
The developers explicitly disclose that Claude Code helped write and edit the Unity game code, while ElevenLabs supplied vocals for the music. They credit human team members for design, level design and final feature decisions, and also list third-party Unity assets including AnyPath and PrimeTween.
The practical design lesson is to start from an exact deterministic rule and make its edge cases into game mechanics. In this case, a numerical loop becomes an enemy the player must correct, rather than a programming bug. Repeated transformation, risk positioning and chain reactions make abstract mathematics readable as a shooter. The team does not provide a complete reproducible agent workflow, so its specific documented value is the playable combat design.
Official source and playable game: Lucky Numbers on itch.io. Related GameSlash coverage: AI-generated film-set game Filmmaker.