← Home All tools · 中文
Mental math under 20 · wave defense

Math Tower Defense: one right answer, one shot

Monsters walk the path and your tower only fires when your math is right. Chain answers for critical hits; miss and the tower goes quiet.

Lives10
Gold0
Wave1
Score0
Best0
Right answer fires · four operations under 20 Streak x0
7 + 5 = ?
Work it out, type the answer, then press Fire.

Everything you do stays in this browser. Nothing is uploaded and there is no account. Switching devices or clearing site data will lose it. To delete for good, use Clear my data in the footer.

More damage
Damage 2
Faster fire
Interval 900ms
Repair wall
Restore 2 lives

How to play

Monsters walk from left to right along the path; each one that reaches the flag costs a life. Answer a mental math question and your tower fires a shot. Three correct answers in a row turns the shot into a critical hit with double damage. A miss costs no life, but the tower goes quiet for about 1.5 seconds and your streak resets.

A right answer earns 5 gold and stopping a monster earns another 8; clearing a wave pays a bonus. Spend gold on more damage, a shorter answer interval, or a patched-up wall. Questions get harder with each wave, but never outside 20, never negative, and division always divides evenly.

Question rangeAddition and subtraction under 20, products at or below 20, division that divides evenly with an integer quotient
GenerationRandom at runtime by wave; every question is checked again before use and regenerated if it fails
Wave difficultyWave 1 addition only, wave 2 adds subtraction, wave 3 adds multiplication, wave 4 mixes all four; monster count and health rise too
FiringCorrect answer fires; three in a row crits for double; a miss silences the tower for 1.5s and resets the streak; a monster at the flag costs 1 life
Upgrades20 gold for +1 damage; 25 gold cuts the answer interval by 100ms (floor 350ms); 30 gold restores 2 lives
ProcessingRuns entirely in the browser; sounds are synthesised with Web Audio; scores and stars only go into local storage, never uploaded
Known limitsOn a phone, landscape or zoom helps; muting does not change play; private browsing clears everything on close, including your best score

Common questions

Can the questions go beyond 20 or have negative answers?
No. Questions are generated at runtime: addition stays at 20 or below, subtraction never goes below zero, multiplication products stay at 20 or below, and division always divides evenly with an integer quotient. Every question is checked again before it appears; a failed check triggers a fresh one.
Does a wrong answer cost a life?
No. A wrong answer only silences the tower for about 1.5 seconds and resets your streak. You lose a life only when a monster reaches the flag at the end of the path.
How do gold and stars work?
A correct answer earns 5 gold, and stopping a monster earns another 8. Clearing a wave pays a bonus and lights up a star. Your best score and total stars stay in this device's browser only.