Free online Reversi (Othello)
Reversi, sold in many places under the name Othello, is an 8×8 duel in which every move flips discs and the lead changes hands again and again. Whoever is ahead on the count in the middle of the game is often the one who is losing. Here you can play free against a computer that searches several moves deep, or against a friend. This guide covers the exact rules of this version, how the computer thinks, and the ideas that actually decide games: corners, mobility and parity.
History
Reversi appeared in England in the late nineteenth century, and two names are contested for its authorship: Lewis Waterman and John W. Mollett, who each published it in the 1880s. Othello, the version played in tournaments today, came out of Japan in the early 1970s and is credited to Goro Hasegawa. The change most often cited is the fixed starting position, together with standardised competition rules; the name nods to Shakespeare's play.
How to play
You play the black discs and always move first; in vs-CPU mode the computer plays white. The game begins with four discs in the centre, two of each colour, set diagonally. On your turn, tap a square marked with a pale dot: those are the only legal moves. The new disc must trap one or more white discs in a straight line (horizontal, vertical or diagonal) against another black disc, and every trapped disc turns black, in several directions at once if that applies.
The two cards above the board show the disc count live, and the gold outline marks whose turn it is. The game ends when neither player can move, which usually means a full board but not always.
Rules
- An 8×8 board. Black moves first; in vs-CPU mode white is the computer.
- Every move must flip at least one disc. Playing without capturing is not allowed.
- Trapped discs flip in every direction at once, up to eight.
- With no legal move the turn passes by itself and the other side moves again. The game says who had no move in the text above the board, and the notice stays on screen until the next move.
- The game ends when neither side can move, including when one side loses all its discs.
- Most discs wins. Empty squares count for nobody, and 32 to 32 is a draw.
- Nothing is saved on the device, and switching modes restarts the game.
Strategies
- Corners first. A move that secures a corner is worth more than several flipped discs.
- Squeeze your opponent's mobility. When your opponent has few moves, it is your opponent who ends up giving away X- and C-squares.
- Watch for unbalanced edges. An edge that is yours apart from one gap lets the opponent play into the gap and flip the whole row.
- Stay off X- and C-squares while the matching corner is empty.
- In the last 10 squares, calculate. The computer searches deeper in that phase.
How the computer plays
The computer uses minimax search with alpha-beta pruning. It simulates 4 plies ahead, counting its own move, and deepens to 6 once 10 or fewer squares are empty. At each leaf it scores the position on two things:
- Where the discs are. Each square has a fixed weight. Corners are worth +120; the four squares diagonally adjacent to a corner (X-squares) are worth −40; the edge squares next to a corner (C-squares) are worth −20; the third square along each edge is worth +20. The rest fall between −5 and 15.
- Mobility. Every move it has beyond yours adds 8 points.
What that means for you
First, it is deterministic. There is no randomness, so if you repeat the same moves it replies identically. You can learn from a loss and change a single move to see what happens.
Second, it is strong against naive play. In 200 simulated games where black moved completely at random, the computer won every one, by about 33 discs on average. It also beat a player who always picks the move that flips the most discs. But it is not unbeatable: a program using the same evaluation and searching six plies deep beat it in the test we ran.
A four-ply horizon is short for a game of around 60 moves. The computer has no explicit notion of parity or stable discs, only of squares and mobility. Plans that pay off beyond that horizon, such as giving up an edge to win a corner five moves later, or leaving a region that only you can close, tend to slip past it.
Corners, X-squares and C-squares
A corner can never be flipped: to trap a disc you need squares on both sides of it along the same line, and a corner has only one side. That makes it an anchor, and it makes the squares around it dangerous while it stays empty:
- X-square (diagonally adjacent to a corner): playing there while the corner is empty almost always hands the corner over.
- C-square (next to a corner, on the edge): risky for the same reason, to a lesser degree.
- Once the corner is yours, the neighbouring squares along that edge can become stable, discs that can never be flipped again, if you fill the edge outward from it.
Mobility: why fewer discs helps
In the opening and middlegame, the number of moves you have matters more than the number of discs. Every disc of yours touching an empty square (a frontier disc) is an open door for your opponent. Flipping lots of discs early enlarges your own frontier and gives your rival more options.
- Prefer moves that flip few discs and stay inside the block, without touching empty squares.
- Count the pale dots: if you only have one or two moves, you are being squeezed.
Parity in the endgame
Near the end the empty squares split into isolated regions. In each region, whoever makes the last move usually takes the final discs. In a region with an even number of empty squares, the player who enters first tends to leave the last move to the opponent; in an odd region, the player who enters first tends to keep it.
So the ideal is to let your opponent be the first to touch the even regions and to enter the odd ones first yourself. The rule breaks down when someone has to pass.
Common mistakes
Most lost games trace back to one of these.
- Flipping as many discs as possible. It is the beginner's instinct, and in our tests it loses to the computer by a wide margin.
- Playing X-squares early just because they flip a lot.
- Forgetting the diagonals when predicting what will flip. There are eight directions.
- Trusting the mid-game count. The live score only matters on the last move.
- Moving twice in a row without noticing. When the computer has no move, the game says so in the status text and the turn comes back to you; read the message and plan it calmly.
Tips for beginners
- For the first 10 moves, ignore the score and watch the pale dots.
- Between a move that flips 1 disc and one that flips 5, take the 1 if everything else is equal.
- Lost to the computer? Replay the same moves and change just one: it repeats its replies.
- Use 2-player mode to study positions without a clock.
Trivia
- The four possible first moves are equivalent by symmetry, and the computer answers all four with the same opening, the one known as the perpendicular.
- The number of legal positions is estimated at around 1028.
- In 1997 the program Logistello beat world champion Takeshi Murakami 6-0.
Mobile version
On a phone, tap a square marked with a dot; the others do not respond. The board stays square, fills the available width up to 440 px and never causes sideways scrolling. The computer replies in about half a second.
Frequently asked questions
What is the difference between Reversi and Othello?
The rules of play are the same. Othello is the trademarked version with a fixed starting position and tournament rules; this version uses the standard Othello starting position, with black moving first.
Why are corners so important?
A disc on a corner can never be flipped, because there is no way to trap it. It anchors the neighbouring edges, and the computer weighs every corner at +120, the highest value on the board.
What happens if I have no legal move?
The turn passes automatically and the other side moves again. The game says who had no move in the text above the board, and the notice stays on screen until the next move. If neither player can move, the game ends.
Does the game only end when the board is full?
No. It ends when neither player has a legal move, which can happen with empty squares left, for example when one side loses all its discs.
Do empty squares count in the final score?
Not in this version: whoever has more discs on the board wins, and empty squares are not added to anyone. Some tournament rules award them to the winner.
Is the computer unbeatable?
No. It searches 4 plies ahead (6 near the end) and plays with fixed square weights and mobility. It is strong against naive play, but plans that pay off beyond its horizon work.
Does the computer always play the same way?
Yes. There is no randomness: with the same moves from you, its replies repeat. That lets you study and vary one move at a time.
Do I need to install anything or create an account?
No. Reversi runs straight in your browser, free and with no sign-up.