Play Amazons, the game of sliding queens and burning squares, on a 10 by 10 or 6 by 6 board against the computer at three levels or a friend on one screen.
Sky squares reached first 0
Amber squares reached first 0
Your move (Sky)
Session You 0, Computer 0
Wins 0
Arrows shot 0
Shared squares
Each side has four queens. On your turn you make one move in two steps. First slide one of your queens any distance in a straight line, along a row, a column or a diagonal, over empty squares; it cannot jump a queen or an arrow. Then that queen shoots an arrow from the square where it landed, along any such line, onto an empty square. The arrow square is burnt for the rest of the game and is marked with a cross. The square the queen just left counts as empty, so the arrow may land there. The side that cannot move any queen loses, so there are no draws. Sky queens are plain discs and Amber queens have a ring, and both carry a crown. The numbers on the side cards count the squares each side can reach in fewer queen moves than the other side, which is a good guide to who is ahead. Click a queen, then a square with a green dot to slide to, then a square with a rose ring to shoot at. To change your mind, press Escape or click the queen again. Arrow keys move around the board, Enter or Space selects or moves.
Easy picks a random queen that can move, a random square for it and a random arrow. Medium ranks every move by a quick score (how many squares its queens can slide to, minus how many the other side's can), keeps the best 60 and plays the one that leaves the best position by the territory count. Hard does the same one move deeper at a time, up to 4 moves ahead, keeping fewer moves at each step (40, then 10, 6 and 4), and stops deepening after about 0.45 of a second or 6,000 positions. The territory count gives 10 points for every empty square a side's queens reach in fewer queen moves than the other side's, and a small bonus for freedom of movement. It is a fixed search with no learning and no opening book, so a careful player can beat it. Undo takes back your last move and the reply, and a game that used Undo is not counted as a result. Undo is not available once a game is over.
As-is, no warranty. These apps are free under their listed license and run entirely in your browser. Use at your own risk — don't blame me if your PC catches fire, your dog runs away, or the math turns out wrong. Verify anything that actually matters. None of this is professional financial, medical, legal, or engineering advice.
Each side has four queens. Sky starts at the bottom of the board and moves first; Amber starts at the top. The default board is 10 by 10, and there is a small 6 by 6 board for a quicker game.
A turn has two steps.
Queens are never captured. The board slowly fills with arrows until one side cannot move any queen, and that side loses. There are no draws.
Sky queens are plain discs and Amber queens have a ring inside the disc, and both carry a crown, so you never have to tell colours apart. Squares with a green dot are where the selected queen can slide. Squares with a rose ring and a dot are where the arrow can go. Pieces that can move have a dashed outline. The last move is tinted and its arrow square is outlined.
Controls:
Click a queen, then a square with a green dot, then a square with a rose ring. A note above the board says which step you are on. To change your mind, press Escape or click the queen again: once to take back the slide, once more to put the queen down. On the keyboard, arrow keys move around the board, Home and End jump to the ends of a row, and Enter or Space selects or moves. Every square is announced with its row, column and contents, and the status line says what each move did. The page address carries the opponent, difficulty, side and board size.
The two big numbers on the side cards are squares reached first: the number of empty squares that one side’s queens can reach in fewer queen moves than the other side’s. The shared squares figure counts squares both sides reach in the same number of moves. They are a guide to who is ahead, not a promise.
The engine keeps, for every square and each of the eight directions, the list of squares met going outward. Sliding means walking along such a list until something is in the way. A full move is a slide followed by a second walk from the new square on a board where the old square is empty again. A side that has a queen with an empty square next to it always has a move, because the queen can step there and shoot back at the square it left, so the engine only has to look at the squares next to each queen to know whether a side is stuck.
The test suite pins the rules in several ways:
The computer comes in three levels and plays either side:
The territory count gives 10 points for each empty square one side reaches first, 5 for a shared square to the side whose turn it is, and 2 for each square of freedom of movement. A stuck side scores far below any of those figures. Moves that tie for best are chosen between at random.
With every move tried at every step, the search agrees with a brute-force solver on who wins 28 small test positions on a 4 by 4 board, and the move it picks from a won position leaves the other side lost. With the limited move lists the computer really uses, the alpha-beta search gives the same value as a plain minimax over the same lists at depths 1 to 3 in positions from random 6 by 6 games. In the test suite, Medium won at least 5 of 6 games against Easy on 6 by 6 from either side, and 7 of 8 on 10 by 10 over both sides together. Hard searching 2 moves ahead won at least 5 of 6 against Easy from either side. In the suite’s test positions, Medium and Hard take a move that leaves the other side with no move. The suite asserts that Medium and Hard answer every position they are asked about in under 4 seconds, a bound loose enough for a slow machine; the design limit for Hard is about 0.45 of a second. The computer waits about 0.45 seconds before moving so you can follow along, and moves at once if you have asked for reduced motion.
Nothing is uploaded and there is no account. Against the computer, your win count for each difficulty (for both sides and both boards added together) is saved in your browser’s local storage, as small whole numbers inside a small JSON object, under one key. Clearing site data removes it. The session tally lives only on the page and resets when you leave it. Two-player games are not saved.
Only finished games count. A game in which you used Undo is not counted against the computer, so the saved figures are not inflated.
Free to play, no ads, nothing uploaded. These games are original and are not affiliated with any other game or brand.