Home › Fun & Games › Gomoku

Gomoku

Take turns placing black and white stones on a 15 × 15 board. The first to get exactly five (or more) in an unbroken line wins. Play the computer or a friend on one screen.

Last updated:

You (Black)0
Draws0
Computer (White)0

Your move

Place stones on the intersections. The first player to line up five stones in a row horizontally, vertically or diagonally wins. Keys: arrows + Enter to play, U undo, H hint, N new game.

Advertisement
Advertisement

How to use the Gomoku

  1. Choose a mode. Play vs Computer and pick Easy, Medium or Hard, or switch to 2 players.
  2. Pick your color and rule. Black always moves first. Freestyle counts six or more in a row as a win; Exactly five does not.
  3. Place a stone by clicking or tapping any empty intersection. Stones never move once placed.
  4. Build and block lines. Make open threes and fours while watching your opponent's lines. Red rings warn you when they can make five.
  5. Get five in a row horizontally, vertically or diagonally to win. Use Undo move or Show hint whenever you need.

Gomoku shapes to know

Almost every Gomoku game is decided by threats. Learning to recognise these shapes, for yourself and your opponent, is the fastest way to improve. In the patterns below, ● is a stone and · an empty point.

ShapeExampleWhat it means
Five●●●●●Win.
Open four·●●●●·Unstoppable: two points complete five and the opponent can block only one.
Four○●●●●· or ●●·●●Threatens five on one point. Must be blocked immediately.
Open three·●●●· or ·●●·●·Becomes an open four next move unless blocked now.
Four-threea four and an open three made by one stoneUsually a winning double threat.
Double threetwo open threes made by one stoneOften wins in freestyle Gomoku (forbidden for Black in Renju).

Strategy tips

  • Always check for fours first. Before anything else, look for a point where your opponent could complete five. Turn on Warn about threats to have these marked in red.
  • Block open threes early. Once an open three becomes an open four, the game is over. Block on the side that also helps your own stones.
  • Attack in two directions. Place stones where they extend lines in several directions at once. Moves near the center of your group create double threats later.
  • Use forcing moves. A four forces a reply. Chaining fours (a VCF, victory by continuous fours) or fours and threes (VCT) lets you set up a winning double threat while your opponent can only respond.
  • Keep the initiative. In Gomoku the attacker usually wins. When you are not forced to defend, add to your own threats instead of making passive moves.

Frequently asked questions

What are the rules of Gomoku?

Two players take turns placing a stone of their color on an empty intersection of a 15 × 15 grid. Black plays first. The first player to form an unbroken line of five stones horizontally, vertically or diagonally wins. If the board fills up first, the game is a draw.

What is the difference between freestyle and standard Gomoku?

In freestyle Gomoku a line of six or more stones (an overline) also wins. In standard Gomoku only exactly five in a row wins, and an overline does not count. You can choose either rule here.

Is Gomoku the same as Renju or Gobang?

They are closely related. Gobang is another name for five in a row. Renju is a professional variant that adds restrictions for Black (no double-threes, double-fours or overlines) and special opening rules to balance the first-move advantage. This game uses plain Gomoku rules without those restrictions.

Does the first player have an advantage?

Yes. Freestyle Gomoku on a 15 × 15 board was proven to be a win for the first player with perfect play by L. Victor Allis in 1994. In practice games between people are still very open, but playing Black is easier.

What are an open three and an open four?

An open three is three stones in a row with both ends empty, so it threatens to become an open four. An open four is four in a row with both ends empty: it can't be blocked, because the opponent can only cover one end. Making two threats at once, such as a four and an open three, is the usual way to win.

How strong is the Hard computer?

Hard scores every candidate move by the threats it creates and blocks, searches for a forced win by continuous fours (a sequence where every move threatens five), and checks that its move does not allow you such a forced win. Easy and Medium use only the threat scoring, and Easy adds randomness.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Connect FourPlay Connect 4 online against the computer or a friend.Tic Tac ToePlay tic tac toe against an unbeatable AI or a friend.ReversiPlay Reversi (Othello rules) online vs a 3-level computer or a friend, with move hints.CheckersPlay checkers online against the computer or a friend, with kings, undo and hints.SolitairePlay classic Klondike Solitaire with Draw 1 or Draw 3 and undo.Spider SolitairePlay Spider Solitaire online with 1, 2 or 4 suits, hints, unlimited undo and a timer.Play Chess vs ComputerPlay chess online against the computer at 8 difficulty levels.Snake GamePlay classic Snake online with speeds, wall modes and high scores.Block Puzzle GameClassic falling blocks puzzle game with levels and high score.MinesweeperPlay classic Minesweeper: 3 difficulties, flags, timer and a safe first click.2048 GamePlay 2048 online with swipe controls, undo and best score.Sudoku OnlinePlay free Sudoku with 4 difficulty levels, notes, hints and a timer.Word Guess GameGuess the hidden five-letter word in six tries. Unlimited games, stats and hard mode.HangmanClassic friendly hangman word game with categories, hints and difficulty levels.Memory Card GameFlip cards and match emoji pairs on 4×3 to 6×6 grids, with moves, timer and best scores.Flappy GameTap to flap a round chick through bamboo gaps and beat your high score.Dino Runner GameJump cacti and duck buzzing beetles in an original endless desert runner.Typing GameType the falling words before they land; level up and track your WPM and accuracy.Math Quiz GameTimed mental math rounds with four operations, five levels, streaks and high scores.Flag QuizGuess the flags of all 196 countries in four modes, from multiple choice to timed.Map QuizFind countries on a clickable world map or name the highlighted one, by continent.Periodic Table QuizLearn all 118 elements: quiz symbols, names and atomic numbers or click them on the table.Spelling Bee GameMake words from 7 honeycomb letters, always using the center letter. New daily puzzle.Jigsaw PuzzleTurn a sample picture or your own photo into a 12 to 150 piece jigsaw puzzle and solve it.Sliding PuzzlePlay the 15 puzzle and 3×3 to 6×6 sliding tile puzzles with numbers or your own photo.Mahjong SolitaireMatch pairs of free tiles to clear the Turtle and two smaller layouts, with hints, shuffle and undo.Scrabble Word FinderFind the highest-scoring words from your rack, with blank tiles, patterns and bingo bonus.Wordle SolverEnter your guesses and colours to see every possible answer and the best next guess.Crossword SolverFind words that fit a crossword pattern like c?t from the length and the letters you know.Word Search GeneratorMake a word search puzzle from your words, play it online or print it with an answer key.Pong GamePlay classic Pong online against the computer on 3 levels or with a friend, first to 11.Breakout GameClassic brick breaker game with levels, power-ups and lives. Play with mouse, touch or keyboard.Whack-a-MoleWhack the moles before they hide in 30 or 60 second rounds. Speed increases, best score saved.Simon Says GameRepeat the growing color and sound sequence. Classic memory game with strict mode and high score.Battleship GamePlace your fleet and sink the computer's ships in this classic naval guessing game.FreeCellPlay FreeCell solitaire online with the classic numbered deals, undo, hints and auto-move.Mastermind GameCrack the secret 4-color code in 10 tries using black and white feedback pegs.Tower of HanoiPlay the Tower of Hanoi puzzle with 3 to 8 disks, or watch it solve itself in the fewest moves.8 Ball Pool GamePlay 8 ball pool online vs the computer or a friend: aim line, power meter, spin and real physics.Cube SimulatorTurn a 3D 2x2 to 5x5 puzzle cube online: drag or type moves, scramble, time solves and undo.TriPeaks SolitairePlay TriPeaks Solitaire free: clear three peaks with up-or-down runs, streak bonuses, undo and hints.Water Sort PuzzlePour colored water between tubes until every tube holds a single color. Endless solvable levels.20 Questions GameThink of an animal or object and the game guesses it with yes/no questions, then learns.24 GameCombine four numbers with + − × ÷ to make 24. Endless solvable hands, timer and a solver.Asteroids GameClassic vector Asteroids arcade: rotate, thrust and blast space rocks into pieces, wave after wave.Basketball Shooting GameDrag and release to shoot hoops against a 60-second clock, with moving-hoop levels and combo bonuses.Bible Trivia QuizMultiple-choice Bible trivia by book and difficulty, with verse references and a kids mode.Contract BridgePlay contract bridge with 3 computer players: SAYC-style bidding, declarer play, duplicate scoring.Chess Analysis BoardSet up positions, paste FEN or PGN and step through moves with an engine evaluation bar.Guess the Country by ShapeWorldle-style geography game: name the country from its outline in six tries, with distance hints.Cryptogram PuzzleCrack a substitution cipher letter by letter to reveal a famous saying. Daily puzzle, hints, timer.Element Mixing GameMix water, fire, earth and air to discover 400+ items. Discovery book, hints, works offline.EuchrePlay Euchre online with a computer partner: order up trump, use the bowers, go alone, race to 10.Falling Sand GameSandbox with sand, water, fire, plants, lava and more that flow, burn, grow and react. Save your scene.Forehead Guessing GameHeads-up style party game: hold the phone to your forehead, tilt down if correct, up to pass.Fruit Merge GameDrop fruits into the box and merge matching ones into bigger fruit, all the way to a watermelon.Fruit Slice GameSwipe to slice tossed fruit, dodge the rocks and chain combos. Three lives, mouse or touch.Conway's Game of LifeDraw cells and watch them evolve: play, step, change speed, load gliders and guns, import RLE.Online Game Show BuzzerQuiz buzzer for 2–8 teams on one device: first key or tap locks out the rest with sound.Games for CatsFull-screen mice, laser dot, fish and bugs for cats to chase on a tablet, with squeaks and a tap counter.Kids General Knowledge QuizFun quiz for kids aged 5–12 on animals, space, geography and science, with read-aloud and stars.Go FishKid-friendly Go Fish card game vs the computer: ask for ranks, make books of four, voice prompts.Go Game (Baduk)Play Go on 9×9, 13×13 or 19×19 vs a simple AI or a friend, with ko, scoring and SGF export.Higher or Lower GameIs the next one higher or lower? Compare country populations, areas, buildings and mountains.Imposter Word GamePass-the-phone party game: everyone gets the secret word except the imposter. Clue, vote, reveal.Calcudoku Math PuzzleSolve KenKen-style cage arithmetic puzzles from 3×3 to 9×9, each with a unique solution.Logic Grid PuzzlesSolve Einstein-style deduction puzzles with clues and an ✗/✓ grid, from easy to hard.Math Equation Guess GameNerdle-style math puzzle: find the hidden 8-character equation in six tries. Daily and unlimited.
See all 141 Online Games →