Stratego Game Online

Stratego Online vs Computer

Free Stratego-style game against the computer · no sign-up

Hidden Ranks, a Stratego-style game against the computer, in progress: your sand-colored army at the bottom faces the computer's red army with some ranks revealed

1 player · 40 pieces · computer opponent

Your ranks stay hidden. The computer has to guess.

  • Free
  • No download
  • No sign-up
  • Phone and desktop

Hidden Ranks, our own Stratego-style game, loads in this frame.

Deploying armies · loading Hidden Ranks

Comments

Play Stratego online against the computer, free

You can play Stratego online vs the computer right on this page, for free—a single-player Stratego-style game with no download. Press Play Stratego vs Computer and Hidden Ranks opens above: set up your 40 pieces, hide your Flag, and capture the computer's Flag before it finds yours. There is nothing to download and no account to create.

Price
Free. Nothing to buy.
Install
None. The game runs in your browser on a computer, tablet or phone.
Account
Not needed. Press Play and start.
Opponent
The computer, in a single-player Stratego game. For real people, press Play Real People on our home page.
Rules
Classic 40-piece Stratego rules, including the two-square rule.
Phones
The board fits a phone held upright: tap a piece, then a square.
Saving
Automatic in your browser while a Stratego game is in progress; reloading resumes your board.

Hidden Ranks is a Stratego-style game we made for this site. It plays by the classic Stratego rules on a 10×10 board with two lakes and 40 pieces a side, and every rank stays hidden until two pieces fight. It is not the official Stratego game and is not made by Jumbo, which owns the Stratego trademark, or by the developer of Strategus.

How to play Stratego vs the computer

  1. Press Play Stratego vs Computer. The Stratego board opens in the frame above, with your sand-colored army at the bottom and the computer's hidden red army at the top.
  2. Choose difficulty and set up your army. Pick Easy, Standard or Hard. You start with a random setup: tap two of your Stratego pieces to swap them, press Random for a new setup, or load one of three ready-made Stratego setups: Twin corners, Center flag or Unbombed flag, all explained in our Stratego setup guide.
  3. Press Start battle. You always make the first move.
  4. Move and attack. Tap one of your pieces. Small squares mark where it can move, and a frame marks an enemy piece it can attack. Tap the square to play the move.
  5. Win. As in every Stratego game, capture the enemy Flag or leave the computer with no piece that can move.
Hidden Ranks setup screen on a phone: your sand-colored Stratego army at the bottom, Easy, Standard and Hard difficulty buttons, presets for Twin corners, Center flag and Unbombed flag, and Start battle
The setup screen on a phone. Swap any two pieces or load a ready-made setup, then press Start battle.

When two pieces fight, both ranks are shown on the board and the result goes into the list of last fights next to the board. A small red square on one of your pieces means the computer has seen its rank. Your losses and the computer's losses are listed under the fights. When the game ends, the computer's whole army is turned face up, so you can see where its Flag and Bombs were.

How the computer plays Stratego

  • It does not peek. The computer only knows what a human opponent would know: ranks revealed in fights, Scouts that ran more than one square, and which of your pieces have moved. Your other ranks stay hidden from it.
  • It sets up a new Stratego army every game. Its Flag is usually on its back row, most often behind Bombs, its Spy stands next to its General, and its Marshal starts on the other side of the board from the General.
  • It weighs every attack. It estimates what an unknown piece is likely to be from what is left of your Stratego army, and attacks when the odds look good. It probes with Scouts, and it prefers Miners for attacking pieces that have never moved, because those may be Bombs.
  • It respects your known strong pieces. It steps away when a stronger revealed piece comes close, and goes after revealed pieces it can beat.
  • It gets bolder when nothing happens. The longer a game goes without a fight, the further forward it pushes. Late in a Stratego game it hunts among your hidden pieces for the Flag.
  • Three difficulty levels: Easy, Standard and Hard. Easy plays more loosely for your first Stratego games; Standard weighs every clash; Hard protects its Marshal and General from unmoved pieces, saves Miners for Bombs and hunts with its Spy—still without peeking at your hidden ranks.

Stratego rules in this game

Hidden Ranks uses the classic Stratego rules for 40 pieces. The full rules, with every combat case, are on our Stratego rules page. In short:

  • Turns: you move first. Each turn, move one piece or attack with one piece.
  • Pieces: 10 Marshal, 9 General, 8 Colonels (2), 7 Majors (3), 6 Captains (4), 5 Lieutenants (4), 4 Sergeants (4), 3 Miners (5), 2 Scouts (8), S Spy, six B Bombs and the F Flag.
  • Combat: the higher rank wins and equal ranks remove each other. The Spy beats the Marshal when the Spy attacks, only Miners can defuse Bombs, and any piece can capture the Flag.
  • Two-square rule: a piece may not move back and forth between the same two squares more than three times in a row. You and the computer both follow it.
  • No chasing rule: the chasing (more-squares) rule is not enforced in this game. Instead, a game is drawn after 200 moves in a row without an attack.
  • No moves left: if it is your turn and none of your pieces can move, you lose. If neither side can move, the game is a draw.

Tips to beat the computer at Stratego

  • Keep some pieces still. To the computer, a Stratego piece that has never moved might be a Bomb or your Flag, so it is careful about attacking it with its officers.
  • Read its moves. A computer piece that has moved can't be a Bomb or the Flag, and pieces that stay on its back row from the first turn are good suspects for its Flag.
  • Trade Scouts for information. A Scout that hits an unknown piece shows you its rank, and the computer uses its own Scouts the same way.
  • Guard your Flag late in the game. When few of your pieces are still hidden, the computer starts searching them for your Flag, so keep a strong piece nearby.
  • Protect your Spy. In Stratego, any attack on the Spy wins, so keep it behind your front line and next to your General.

For more, with where the computer hides its Flag and tips for each difficulty, read how to beat the computer at Stratego.

Want a human Stratego opponent?

Hidden Ranks is for practicing, and for the times when nobody is online. To play Stratego online against real people, go to our Stratego Game Online home page and press Play Real People: it opens Strategus, a free multiplayer Stratego web app with casual games for guests and ranked games for players who sign in with their email.

Stratego vs computer FAQ

Can I play Stratego against the computer for free?

Yes. Hidden Ranks on this page is free and runs in your browser. There is nothing to buy, no download and no account.

Is there a single-player Stratego game online?

Yes, Hidden Ranks on this page. It is a free single-player Stratego-style game against the computer with Easy, Standard and Hard difficulty, no download and no sign-up, and unfinished games auto-save in your browser.

Is this the official Stratego game?

No. Hidden Ranks is a Stratego-style game we made ourselves. It follows the classic rules, but it is not made or endorsed by Jumbo, which owns the Stratego trademark.

Does the computer see my Stratego pieces?

No. It only uses what a human opponent could know: ranks revealed in fights, Scouts that ran more than one square, and which of your pieces have moved.

How strong is the Stratego computer opponent?

Choose Easy, Standard or Hard before the battle. Even on Hard it never peeks at your hidden pieces and does not search deep trees ahead, so a careful Stratego player can outplay it.

Can I play Stratego vs the computer on my phone?

Yes. On a phone the board sits at the top of the frame and the buttons below it. Tap a piece, then tap where it should go.

Is my Stratego game saved?

Yes, while a Stratego game is in progress: the board and difficulty are saved in your browser's local storage, so reloading or returning to the page resumes where you left off. Press New game twice at any time to start fresh.

Can I choose my own Stratego setup?

Yes. Before the battle, swap any two of your pieces, press Random for a new setup, or load Twin corners, Center flag or Unbombed flag.

Can I play against real people instead?

Yes, on our home page. Press Play Real People to open Strategus, where you can play casual games as a guest or ranked games with an email sign-in. To invite someone you know, see how to play Stratego online with friends.

Also on Stratego Game Online

Comments from players

No comments yet. Did you beat the computer? Tell other players how.

Facts on this page were last checked on November 18, 2026.