Omok · The Five in a Row
Omok takes about a minute to learn. Get five of your stones in a row (horizontal, vertical, or diagonal) before your opponent does, and you win. Sit two people down at a board, though, and the mood turns serious fast. Every stone you place immediately becomes a potential threat, so there's really no such thing as a "throwaway move." Omokboard itself started as a way to play Omok with a friend. The other games came later.
Omokboard's Omok uses free-style rules. There are no forbidden moves like Renju's 3-3 or 4-4 bans, so both sides can play however they like.
Every bit of reading in Omok comes down to judging one thing: what threat level is this shape right now?
A stone in the center can extend in four directions: horizontal, vertical, and two diagonals. A stone in the corner has far fewer directions to work with, so no matter how well you connect it, it struggles to build real threats. That's why the first few moves almost always cluster near the center: claim a spot that can grow in every direction before chasing anything flashy.
This is where skill gaps actually show. Just extending one line is easy to stop, because your opponent only has to block one end. The real strength move is stacking stones at an intersection where two different directions (say, a row and a diagonal) both pass through, quietly setting up a spot where one more move creates two threats at the same time. Once you reach that point, whatever your opponent blocks, they still lose.
Strong players rarely open with an obvious threat. They often play something that looks harmless on purpose, baiting you into an automatic block. That very block is what completes a double threat somewhere else on the board. Before you block anything, take one extra beat to ask: does blocking here make some other spot even more dangerous?
Knowing how each difficulty level thinks makes the AI a much better practice partner.
One odd detail: the Hard AI moves the fastest. The pause before each AI move is a delay added on purpose (1.2 seconds on Easy, 0.5 on Normal, 0.1 on Hard), so the easier the AI, the more it looks like it's thinking.
I've played a lot of Omok since I was a kid, at school and at home, and against Omokboard's Hard AI I still win only about half the time. When I lose, it's almost always the same way: the AI plays a four-three (one move that makes a four and an open three at once), and I only notice once it can no longer be stopped.
A four-three gives itself away a few moves early. Look for an empty point where your opponent's closed three and open two, running in different directions, would meet. That point is the next target. One stone there turns the closed three into a four and the open two into an open three. A closed three rarely feels urgent, so it's easy to leave alone, but the "four" in a four-three usually grows out of exactly that neglected three. When nothing urgent is happening, start by scanning for empty points where two of your opponent's lines cross.
Just starting out? Play the Easy AI and focus purely on recognizing the five threat levels by sight. Winning matters less right now than being able to tell an open three from a closed one at a glance.
Getting comfortable with the rules? Move to Normal AI and build the habit of checking both "my threats" and "their threats" every single move. Missing an opponent's four while chasing your own attack is the most common mistake at this stage.
Can you already build a double threat? Move to Hard AI and train your defense. The Hard AI creates double threats on its own, so simply holding your ground against it will sharpen your play fast.
Curious why free-style rules became standard, and why Renju exists at all? Read the history and origins of Omok.
We had Omokboard's AI levels play each other (measured October 18, 2026, alternating who moves first). Each figure is the win rate of the first level against the second, with draws counted as half a win.
| Matchup | Win rate | Games |
|---|---|---|
| Hard vs Normal | 65.0% (13W 7L) | 20 |
| Normal vs Easy | 100% (20W) | 20 |
| Hard vs Easy | 100% (20W) | 20 |
Moving first helps but does not decide the game. Against Normal, Hard won 8 of 10 games moving first and 5 of 10 moving second. In AI games the AI always plays White, which moves second.
Hard spends 241 ms of pure calculation per move on average, 95% of moves within 746 ms, and 2.1 s at most (laptop CPU).
For other games and the full method, see AI Difficulty Benchmarks.