← All Games

Number Defense

How to play Number Defense

Number Defense is a free puzzle game by Extensive Harmony that you play in your web browser. A tower defense game where enemies are numbers and towers are maths. Build −1, −5, ÷2 and ÷3 towers and bring every number to zero. It works on desktop and mobile — no download, no sign-up.

Goal

Numbers walk down the path. Bring each one to zero before it gets through. Subtraction towers take numbers down; division towers shrink them fast, but only when the number divides evenly.

Controls

  • Tap a dashed spot – Build a tower there
  • Tap a tower between waves – Move it to another spot
  • Start wave / Space – Send the next wave

Tips

Two towers of the same kind side by side work as one stronger tower: two ÷2 towers divide by 4, two −5 towers take 10. Primes like 7 or 13 never divide, so keep a subtraction tower near the end.

How a game of Number Defense works

Every day there is one challenge: a winding path across a board of 6 by 8 squares, 14 spots where you can build, and ten waves of numbers. The board and the waves are generated from the date, so a friend playing today faces exactly the same numbers as you. A new challenge starts at midnight UTC.

A wave starts only when you press the button, so there is no rush between waves. Numbers then walk along the path, one every 0.9 seconds. Each wave has a few ordinary numbers and ends with one big number, one and a half times the wave's usual maximum. Waves get longer, the numbers get bigger, and the walkers get about 6 percent faster with every wave.

You start with 70 coins and 10 lives. A number that reaches the end of the path costs one life, and the game ends at zero lives. Each number you defeat pays 2 coins plus one coin for every full 10 it started with, and every finished wave pays a bonus of 10 coins plus 2 per wave number.

The four towers

TowerCostOne hitTime between hits
−115takes away 10.45 s
−530takes away 51.1 s
÷235halves an even number1.2 s
÷340divides a multiple of 3 by 31.4 s

A number is defeated when it reaches exactly zero. Subtraction stops at zero, so a −5 tower finishes a 3 just as well as a 5. Division never reaches zero, because half of 2 is 1 and a third of 3 is 1, so division towers do the heavy lifting and subtraction towers finish the job. Each tower aims at the number furthest along the path that it can actually change.

Strategy that works

  1. Open with subtraction. The first waves are small numbers. A −1 and a −5 near the start of the path handle them and earn coins.
  2. Add ÷2 before the numbers grow. From the middle waves a big number can walk past subtraction alone. Halving 64 three times leaves 8, which a −5 and a −1 finish quickly.
  3. Build in pairs. Two towers of the same kind side by side join up: two ÷2 towers divide by 4, two −5 towers take 10. The join is drawn as a line between them and the stronger operation shows in gold.
  4. Put division early and subtraction late. Division works best on big numbers, so place it where numbers arrive. Keep at least one subtraction tower near the exit to catch whatever gets through.
  5. Move towers between waves. Tap a tower, then an empty spot. Moving is free, so you can rebuild a pair after you see what a wave contains.
  6. Do not overspend. When you clear all ten waves, every unspent coin is added to your score. A defence that wins with coins to spare beats one that wins on its last coin.

Numbers to watch for

Primes such as 7, 11, 13, 29 or 31 cannot be divided by 2 or 3, so only subtraction can touch them. A wave full of primes is the main reason to keep subtraction towers along the whole path.

Powers of two such as 16, 32 or 64 fall apart under ÷2 and ÷4: 64 becomes 16, then 4, then 1. Multiples of 6 such as 36 or 48 can be halved and divided by 3, so they melt fast in a mixed defence.

A quick check helps you plan: a number is even when its last digit is 0, 2, 4, 6 or 8, and it is a multiple of 3 when the sum of its digits is. 51 has the digit sum 6, so a ÷3 tower can hit it, even though it looks prime.

Common mistakes

  • Only division. Division towers can never finish a number, so a board without subtraction loses lives even when it shrinks everything.
  • Only −1 towers. They are cheap and reliable early, but later waves bring numbers over 150. In our tests, a defence built only from −1 towers usually fell around wave 7.
  • Splitting pairs. Two ÷2 towers far apart are each just ÷2. The same coins placed side by side give ÷4.
  • Forgetting the last number. Every wave ends with its biggest number. Keep some reach near the exit for it.

Did you know?

Every whole number above 1 is either a prime or a product of primes, and that product is unique. This is the fundamental theorem of arithmetic, and it is exactly why division towers work the way they do: 48 is 2 × 2 × 2 × 2 × 3, so it can be halved four times or divided by 3 once, while 47 is prime and can only be worn down.

The digit-sum test for 3 works because 10 leaves a remainder of 1 when divided by 3, so every digit counts as itself. The same reasoning gives the digit-sum test for 9.

Frequently asked questions

Is Number Defense free?

Yes. It runs in your browser for free, with no download, account or in-game purchases.

How do I defeat a number?

Bring it to exactly zero. Subtraction towers take 1 or 5 away each hit and stop at zero. Division towers shrink a number fast but never reach zero on their own, so every defence needs at least one subtraction tower.

Why does my ÷2 tower not shoot?

Division only works when the result is a whole number. A ÷2 tower ignores odd numbers and a ÷3 tower ignores numbers that are not multiples of 3. Primes such as 7, 13 or 29 can only be beaten by subtraction.

What happens when I put two towers next to each other?

Two towers of the same kind side by side join into a stronger one: two −1 towers take 2, two −5 towers take 10, two ÷2 towers divide by 4 and two ÷3 towers divide by 9. A joined division tower falls back to its own number when the bigger division does not fit.

Is the daily challenge the same for everyone?

Yes. The board layout and all ten waves come from the date, so everyone plays the same game on the same day, which keeps the leaderboard fair. A new challenge starts at midnight UTC.

Keep playing

More Puzzle games

Part of our brain games collection.

New to browser games? See why playing in your browser beats installing apps.

Embed Number Defense on your website

Teachers, bloggers and site owners can add this game to a page for free. Copy the code below; please keep the credit link.