Have you ever wished counting could feel like a game? In Robot Numbers you flip a row of little switches on and off, and each pattern builds a different number. It looks simple, and it is, but it hides the secret way that every computer in the world keeps track of numbers.
#What you do
You see a row of switches, and each one can be on or off, like a light in a room. Above them sits a target number. Your job is to flip the right switches on so the total matches the target. Turn one on, the total grows. Turn it off, the total shrinks. When your number equals the target, you win that round. That is the whole game, and you can play it right now.
#What is really happening
Here is the neat part. Each switch is worth a fixed amount. The first is worth 1, the next is worth 2, then 4, then 8, and each new switch is worth double the one before. To make a number, you turn on the switches you need and add up their values. Want 5? Turn on the 1 and the 4, because 1 plus 4 makes 5. Want 11? Turn on 1, 2, and 8, because those add to 11. Every number has exactly one pattern of on and off switches.
Computers work the same way. Deep inside, a computer has no fingers and no ten digits. It only has tiny switches that are either on or off, which we write as 1 and 0. That two digit system is called binary, and it is the number system underneath every phone, game, and laptop.
#Where it shows up
Once you know this, you start seeing it everywhere. The photos on your phone, the songs you love, and the words on this page are all stored as long strings of on and off switches. When you play Robot Numbers, you are doing by hand the exact trick your computer does billions of times a second.
#The short version
- Computers count with only two digits, on and off, or 1 and 0.
- Each switch stands for a value, 1, 2, 4, 8, and so on, and you add up the ones that are on.
- Adding those values lets you build any number you want.
- That two digit system is called binary, and it runs every computer.