Skip to content
KBHXgamesAll games

Play Gomoku Online

Take turns placing stones on a 15x15 grid. The first unbroken line of five wins the game.

Gomoku gameplay screenshot
  • Touch-ready

Gomoku at a glance

Genre
Card and Board Games
Play with
Mouse, Touch screen, Keyboard
On phones
Yes, touch works
Players
1–2 players (same device)
Price
Free, no sign-up
License
MIT

Gomoku is a classic five-in-a-row game played with stones on a grid. Anyone can learn it in under a minute, but the battle over open lines quickly turns into sharp tactics. Games are short, so it is easy to play several in a row and learn from each one.

The Goal

Be the first player to make an unbroken line of five or more of your stones. The line can run across, up and down, or on either diagonal. This version uses a 15x15 board and the freestyle rules, so longer lines also win and black has no banned moves. It comes from Christopher Müller’s PaperGames collection.

Rules Explained

  1. Black moves first, then the players alternate.
  2. On your turn, place one stone on any empty point where two lines cross.
  3. Stones never move and are never captured.
  4. As soon as someone makes a line of five or more, the game ends.
  5. If the board fills with no winner, the game is a draw.

Keys and Buttons for Gomoku

Keyboard, mouse and touch controls for Gomoku
What you do⌨ Keyboard🖱 Mouse👆 Touch
Place a stoneArrow keys to move between points, Enter to placeClick an empty intersectionTap an empty intersection
Start a two-player game—Click "2 Player (local)"Tap "2 Player (local)"
Start a game against the computer—Click "vs Computer", pick a color and level, then click "New game"Tap "vs Computer", pick a color and level, then tap "New game"
Take back your last stone—Click "Undo"Tap "Undo"
Give up the current game—Click "Resign"Tap "Resign"

Winning Strategies

  • Build near the center. Central stones can grow lines in every direction.
  • Make double threats. Two open threes at once leave your rival unable to block both.
  • Block open threes right away. Waiting lets them become an open four, which cannot be stopped.
  • Watch the diagonals. Diagonal lines are the easiest to miss for both players.
  • Attack while defending. The best block also extends one of your own lines.

Handy Details

  • You can play a friend on one screen or the computer at Easy, Medium or Hard.
  • Medium always takes a winning point or blocks yours. Hard also searches a few moves ahead.
  • The newest stone has a ring around it, and Undo takes back your last move.

Who Should Play It

Gomoku is a great choice for players who want a fast, pure strategy game for two. If you enjoy line-making games or simple paper-and-pencil duels, you will feel at home on this board.

Played and checked by the KBHX Games team · updated

Gomoku: Questions and Answers

Is Gomoku free to play?

Yes. You can play unlimited games in your browser for free. There is nothing to install, and you can switch between the computer and a local friend at any time.

Does going first help in Gomoku?

Yes, black has a real edge in the freestyle rules used here. To keep things fair with a friend, swap colors each game. Against the computer, try white once black feels too easy.

What is an open four?

It is a line of four stones with empty points at both ends. Your opponent can only block one end, so an open four means you win on your next move. Stop open threes before they become this.

Can I play Gomoku with a keyboard?

Yes. Use the arrow keys to move between the points and press Enter to place a stone. Mouse clicks and screen taps work too.

If You Liked Gomoku, Try These