Hidden Ranks

Capture the enemy Flag. You command Red from rows 1 to 4; the computer commands Blue from rows 7 to 10.

Setup

Battlefield

Online play

Play a friend over the internet. Host a game and send them the code, or type their code to join.

Your army is placed in rows 1 to 4. To swap two pieces, select one and then the other, or type a command such as swap a1 b2. When you're happy, start the battle.

Commands

Try e4 e5 to move, f7 to look at a square, row 4, moves, known, status, or help.

Battle log

    Remaining pieces

    Your pieces

    Enemy pieces

    How to play

    Rules, keys and commands

    Goal

    Capture the enemy Flag, or leave the enemy with no piece that can move. You can see your own ranks; enemy ranks stay hidden until a fight reveals them.

    Pieces, strongest first

    Marshal 1 (1), General 2 (1), Colonel 3 (2), Major 4 (3), Captain 5 (4), Lieutenant 6 (4), Sergeant 7 (4), Miner 8 (5), Scout 9 (8), Spy 10 (1), Bomb (6), Flag (1).

    Setting up

    • Your army starts in a random layout. Swap two pieces by selecting one and then the other, or move a piece by selecting it and then an empty square.
    • Press Place pieces myself to empty your rows and place all 40 pieces by hand. Choose a piece from your reserve, then press Enter on an empty square in rows 1 to 4. Place the rest randomly fills whatever is left.
    • On the board, press 1 to 9 to choose a piece, 0 for the Spy, B for a Bomb or F for the Flag. Delete picks a placed piece back up.
    • Once all 40 pieces are placed, type a name and press Save this setup to keep the layout on this device. At the start of a later game, choose it from Saved setups and press Load setup. Saving with the same name replaces the old layout. Commands: save my defense, load my defense, and setups to list them.
    • Typed commands: place starts placing by hand, place captain e4 or place 5 e4 places a piece, remove e4 picks one up, reserve lists what's left, and fill places the rest randomly.

    Moving

    • Move one piece one square up, down, left or right each turn. No diagonals, and never into the lakes at C5, D5, G5, H5, C6, D6, G6 and H6.
    • Scouts move any distance in a straight line and can attack at the end. A Scout that moves more than one square reveals that it's a Scout.
    • Bombs and the Flag never move.
    • A piece can't go back and forth between the same two squares more than three moves in a row.

    Fighting

    • Move onto an enemy to attack. Both ranks are revealed and the stronger piece wins. Lower numbers are stronger, so a Marshal 1 beats a General 2. Equal ranks remove both.
    • The Spy defeats the Marshal, but only when the Spy attacks.
    • A Bomb destroys any attacker except a Miner, which defuses it.

    Keyboard on the battlefield

    • Arrow keys move between squares. Up moves toward the enemy side. Home and End jump to columns A and J.
    • Enter or Space selects your piece and reads where it can go. Press it again on a destination to move.
    • Escape cancels a selection. R repeats the last event.

    Typed commands

    • e4 e5 moves or attacks. During setup it swaps two of your pieces.
    • f7 describes one square. row 7 or column e reads a whole line.
    • moves lists every legal move; moves e4 lists one piece's moves.
    • known lists revealed enemy pieces. status counts what's left.
    • shuffle and start work during setup.

    Online play

    Press Host an online game to get a four-letter code and an invite link for your friend. You both arrange your armies, press I'm ready, and the host moves first. Each of you sees your own army in rows 1 to 4. If you lose your connection or close the page, open the invite link again or use Rejoin game to pick up where you left off.

    About the computer

    The computer plays fair. It only knows what you would know: which of your pieces have moved and which have been revealed in battle.