Devil's Game

Equation Traffic Light rules

Equation Traffic Light is a code-breaking duel with numbers. Each player hides a true equation exactly 9 symbols long, then both try to work out the other’s equation. After every guess, each square lights up green, yellow or red, and you use those signals to close in on the answer.

Play free in any phone or desktop browser with nothing to install. Face the computer on your own or send an invite link to play a friend online. A game usually takes 10 to 30 minutes.

🤖 Play vs AIPlay a friend online

Building your secret equation

At the start of each game, both players build their secret equation at the same time. It fills exactly 9 squares using the digits 0 to 9 and the symbols + − × ÷ ^ (power) and =, and it has to be true.

Valid examples: 12+3+4=19 · 6÷4=3÷2+0 · 2^3^2=512

Guesses and signals

Each turn, both players submit a 9-symbol guess at the other’s equation at the same time. A guess does not need to be a true equation, so you can use it purely to test symbols.

Once both guesses are in, or the time runs out, every square of your guess gets a signal. If a symbol appears in your guess more times than in the answer, only as many squares as the answer holds can be green or yellow; the extras turn red.

Hidden equation12+3+4=19Your guess15+4−2=17
Green: right symbol, right spot Yellow: in the equation, but in another spot Red: not in the equation

Example: the guess 15+4−2=17 against the hidden equation 12+3+4=19.

How a game goes

  1. Both players build a secret equation within the build time.
  2. Every turn, both submit a guess at the same time. Neither side sees the other’s guess before the signals appear.
  3. When both have submitted, the signals light up for each player’s own guess.
  4. If you do not submit before the guess timer ends, you get no signals for that turn.
  5. Repeat until someone cracks the other’s equation, for up to 20 guess turns.

Time limits

Building and each guess have their own timer. Choose one of three speeds before the match.

How to win

The first player to guess the other’s whole equation exactly wins the game. If both crack it on the same turn, or no one has cracked it after 20 guess turns, the game is a draw and is replayed with new equations.

Play a single game, or best of 3 where the first to win 2 games takes the match.

Strategy tips

Play now

🤖 Play vs AIPlay a friend online

FAQ

Is it free?

Yes. It is a non-profit site with no ads and no payments.

Do I need to install anything or sign up?

No. Just open it in your phone or desktop browser. Games against the computer keep working even if you go offline.

Can I play with a friend?

Create a room in online play to get an invite code and link. Send it to a friend and play right away, or use quick match to face someone new.

Does the computer peek at my equation?

No. The computer only sees the signals its own guesses receive, exactly like you do. You can pick easy, normal or hard.

Does my guess have to be a true equation?

No. Only your secret equation must be true. A guess just has to fill all 9 squares.

← Devil's Game home