The five levels at a glance
Open "Difficulty" in solo play and you'll see five levels numbered 01 to 05, with 03 Intermediate selected by default. In a game, the opponent card shows the level name, such as "Sudam · Intermediate", next to its number, such as "LV.03".
| Level | On-screen hint | Candidates examined | Look-ahead | Random |
|---|---|---|---|---|
| 01 Casual | Take it one move at a time | Every empty point near the stones | None | Yes |
| 02 Beginner | Learn the rhythm of the game | Every empty point near the stones | Its own move | No |
| 03 Intermediate | Look for an opening | Top 6 by ranking | Its own move | No |
| 04 Advanced | Read several moves ahead | Top 8 on each turn | Its move and your reply | No |
| 05 Expert | Play with precision | Top 10 on each turn | Its move, your reply, its next move | No |
Levels 2 to 5 share one scoring table. They differ in how many candidates they examine and how many moves ahead they test each one.
The two checks every level runs first
The computer first collects candidates: every empty intersection within two lines of any stone—the 5×5 square around each stone. On an empty board the only candidate is H8. So when the computer plays Black, its first move is always H8, at every level.
Then every level runs two checks, in this order:
- If this move would make five, it plays there.
- If you could make five on your next move, it blocks that point.
These checks come before any level-specific logic, so even Casual never ignores your four. But the second check blocks only the one point it finds. An open four or a double four has two winning points, so it beats even Expert.
It also means your four decides the computer's next move, unless it can make five itself. So the moment you make a four, you know exactly where it'll reply.
How a position becomes a score
From level 2 on, the computer tries each candidate on a copy of the board and scores the result. For each stone and each of the four directions, it looks at every run of five consecutive points that includes that stone. Windows that run off the board or hold an opposing stone are thrown out. In the rest, it counts the stones of that color.
| Same-color stones in the window | Points |
|---|---|
| 1 | 3 |
| 2 | 20 |
| 3 | 180 |
| 4 | 2,000 |
| 5 | 1,000,000 |
If the points just outside the window are empty on both sides, the value is multiplied by 1.35. In each direction a stone uses its highest-scoring window, and these values are summed over all stones and directions. Then the opponent's total is multiplied by 1.08 and subtracted from the computer's, so matching shapes count slightly more for the opponent.
Take an open three, F8 to H8, alone on the board. Each stone scores 180 × 1.35 = 243, which makes 729 in that direction. Extend it to an open four and the horizontal total jumps to 4 × 2,000 × 1.35 = 10,800.
Some consequences:
- A split ●●·● and a solid ●●● have the same number of stones in the window, so they're counted the same way.
- A line hemmed in by opposing stones, with no way left to reach five, scores zero. Dead shapes contribute nothing.
- Nothing checks whether two threats cross at one point. A four-three or double three counts only as the sum of its lines.
The ranking leans toward blocking
At levels 2 to 5, candidates are first ranked using that table. For each one, the computer places its stone, then adds the board score from its own point of view to 0.9 times the score from yours.
Call the computer's shape total A and yours B. The computer's view is A − 1.08B, while yours is B − 1.08A, so the ranking value works out to 0.028A − 0.18B. Removing one point from your total is worth about 6.4 times as much as adding one to its own. So when the score changes are similar, a move that cuts your shape outranks a move that builds its own.
What each level sees and misses
01 Casual
After the two checks, it just picks a candidate at random. It never uses the scoring table, so it blocks your open three only by chance, and it makes no effort to attack. The same moves from you can get different replies each time.
02 Beginner
It ranks every candidate and plays the top one, looking only at the board right after its own move. The ranking makes it block your highest-scoring shapes, such as threes. But it never tests your reply. A double threat you could create next is judged only from the shape scores already on the board.
03 Intermediate
It keeps the top 6 from the ranking and picks the one whose resulting board scores best overall, A − 1.08B. The shortlist leans heavily toward blocking, but the final choice weighs attack and defense together. So it finds moves that block and build at the same time more often than Beginner does. It still looks ahead by only one move.
04 Advanced
For each of its top 8 candidates, it tries up to 8 of your replies and takes the worst outcome for itself as that candidate's value. Your replies come from the same ranking. So if you could make a four-three on your next move and that move ranks in the top 8, candidates that leave the point open score low. Replies outside the top 8 are never tried, and everything after your reply is judged by the table alone.
05 Expert
For each of its top 10 candidates, it plays out three moves (its move, your reply, its next move) and then scores the board. It looks at the top 10 on every turn. But it skips branches that can't change its final choice. Anything longer than three moves is just an estimate, taken from the score of the last board.
Practical ways to beat each level
Against Casual, the basic route from an open three to an open four is usually enough, since random play lets your threes survive. Still, keep counting its stones. If it stumbles into a four and you leave it, it'll complete five on its next move.
Beginner and Intermediate break up your biggest shape first, so a single threat just gets blocked again. Use fours instead. A four determines the computer's reply, which means you can send its stones where you want while you build a double threat. And if you prepare two or more crossing points, one move can't cover them all.
Advanced looks one move ahead, so a four-three you can make in one move may be blocked in advance. Make the attack take at least two moves: play a four, let it block, then make the four-three. That four-three falls outside the moves Advanced considers.
Expert looks three moves ahead, starting with its own. Even after a single four, your four-three is the fourth move and beyond its look-ahead, and a chain of two or three fours pushes the finish further away. It also chooses your replies using the blocking-heavy ranking and tries only the top 10, so an attacking move outside that list is never considered.
Levels 2 to 5 have no randomness. On a given board they always choose the same move. Play the same color at the same level, repeat your moves, and the computer repeats its replies exactly. So a win can be reproduced, and after a loss you can replay up to the critical point and try something else.
Thinking time and error messages
The computer starts calculating 0.22 seconds after your stone lands. It runs in a separate background worker in your browser, so the page stays responsive while the status panel shows "Your opponent is thinking…". Expert does the most work, with the most candidates and the deepest reading.
If no move arrives within 10 seconds, the calculation stops and you'll see "Could not load the opponent's move. Please start a new match." with a "Play again" button. Solo play has no time limit, so take as long as you like on your own turn.
The online computer opponent works differently
In an online public room, a computer may take the empty seat if no one joins within two minutes. In a private room, you get a prompt after five minutes: "Play the computer" or "Keep waiting." The computer always plays White; as the room creator, you play Black and move first.
This opponent uses separate server-side logic. For each candidate, it scores the length and open ends of the line its stone would make, plus the line you'd make at that point, and it looks ahead only one move. Then it picks at random among the top few: 4 at level 2, 3 at level 3 and 2 at level 4. So it sometimes misses the most urgent point.
Its level depends on your recent online games against people. If you have fewer than five on record, it plays level 3. Otherwise, your win rate over up to the last ten games decides the level: above 70% gives level 4, below 30% gives level 2, and anything else gives level 3. A win against it adds 20, 30 or 50 ranking points at levels 2, 3 and 4, while a win against a person adds 30. Solo results don't count toward the rankings.
For the rules and shapes, see the rules comparison guide and attacking shapes guide, or start playing at Muckle Omok.