Skip to main content
Math Inferno - Calculator FPS - Single Player

Math Inferno

A single-player Doom-style math FPS made as a single HTML file. Fight through two levels: aim at a demon to raise the calculator, read the problem on its chest, and type the answer to damage it.

WASD move · Mouse turn · [/] sensitivity · Aim at enemy to activate calculator · Number keys type · Backspace delete · Enter/Click submit · R clear · E/Space use · M minimap · T music on/off · Music starts off · SFX on

Choose a difficulty, then press Start. Music is off by default; press T to turn it on.

Tip: the calculator only accepts input while your crosshair is on a demon. Enemies show health bars. In Extreme mode, demons can spawn tiny one-hit math imps. Use the slider or [ / ] to adjust mouse sensitivity. The soundtrack is embedded directly in this HTML as Doom Count.mp3. To change it later, search for EMBEDDED MUSIC FILE in the code.