YayPlays

How to play

Gomoku: Choose a level
1Choose a level
Gomoku: In play
2In play
  1. Tap a point, then tap again to place.
  2. Get five in a row to win.
  3. Keys: arrows and Space.

Gomoku: count the run and its open ends, answer every open three, and why HARD ended in a draw

Five or more stones in a row on a 15 × 15 board wins; a full board is a draw. You play three pandas: Bao (EASY), Mei (NORMAL) and Lin (HARD). We played CLASSIC mode as black with our own scoring, in three versions: EASY and NORMAL were won, HARD was lost once and drawn on a full board with our last version. We did not beat HARD.

What a stone is worth

Our first version valued every empty point by the runs it would make for both sides: a run of four with both ends open is worth almost as much as five (the rival cannot block both ends), four with one open end must be answered, three with both ends open (an open three) becomes an open four next turn. It added attack and defence and played the best point. That beat EASY with 15 of our stones and NORMAL with 19.

NORMAL after 8 of our stones: two black lines crossing in the middle.
NORMAL after 8 of our stones: two black lines crossing in the middle.

Rules that always come first

  • Make five if you can.
  • Block the rival's five-point.
  • Answer an open three at once: next turn it is an open four, and two ends cannot both be blocked.
  • Look for continuous fours (VCF): a four forces the reply at its one empty point; a chain of fours that ends in an open four or a double four wins. Our last version won NORMAL that way.

HARD

  • HARD searches continuous fours itself and looks two moves ahead, refusing moves that leave you a winning chain of fours.
  • Version 1 lost after 46 of our stones. Version 2, which judged points by five-cell windows and refused any move that left the rival a chain of fours, played worse (it lost NORMAL and only drew EASY). Version 3, the run-and-ends score of version 1 plus the four rules above, drew HARD on a full board: 113 black stones (ours) and 112 white.
  • For comparison, the game's own notes list a casual test player at 0 wins, 8 draws and 12 losses against HARD.
HARD with our version 3: DRAW, board full.
HARD with our version 3: DRAW, board full.

Modes

  • SWAP (the default): the opener places three stones (black, white, black), then the other side picks a colour. CLASSIC alternates colours.
  • EASY and NORMAL mark the points where the panda threatens five (a red X and BLOCK IT!).
NORMAL: YOU WIN!, five in a row.
NORMAL: YOU WIN!, five in a row.

Controls

  • Touch: tap a point to see a ghost stone, tap again or PLACE. Mouse: hover and click.
  • Stones go down with the arrows and Space; U takes one back and H hints. RESIGN asks SURE? first.

Questions

Does six in a row count?
Yes. This is freestyle gomoku: five or more in a row wins.
Is HARD beatable?
We did not beat it: our best was a draw on a full board. It needs you to see chains of fours before it does.

· Corrections log

Suggest an idea or report a problem

We keep only your message (and email, if given) to improve the games.