Gomoku (Five in a Row)
Your input stays in your browser and is never sent.Place stones in turn and be the first to line up five of your colour across, down or diagonally. Play against the computer or with a friend on one device.
- Adjust
- PlayBlack (You) to play
Click an intersection to place a stone. On a phone, the first tap shows a faint stone and a second tap on the same point places it. Freestyle rules with no forbidden moves: five or more in a row wins.
What is Gomoku?
Gomoku is a game where black and white take turns placing stones on the intersections of a board. The first to get five of their own colour in an unbroken line across, down or diagonally wins. Black moves first.
This version uses freestyle rules with no forbidden moves, so six or more in a row also wins. The board is 15×15, and you can play the computer or take turns with a friend on one phone or PC.
There is nothing to sign up for or install. Open the page and play for free.
How to play Gomoku
- Choose your opponentPlay the computer as first or second player, or choose two players.
- Place a stonePress an intersection to place a stone. On a phone, the first tap shows a faint stone and a second tap on the same point places it.
- Make five in a rowWhen five stones of one colour line up, a line is drawn through them and that side wins.
Why play Gomoku on SOKUFU
- Preview stops misplaced stones
- A tap shows a faint stone first, so on a small screen you never place one on the wrong point by accident.
- Two strengths
- Easy varies its moves, while Normal weighs both extending its own lines and blocking yours.
- Take back a move
- Against the computer, you can step back to your own last move and try again.
- See the last move
- The stone played last gets a small mark, so you never miss your opponent's move.
- Runs entirely in your browser
- The game and your records are handled on your device. Nothing is sent to a server.
- Plays well on phones
- The board shrinks to fit your screen, and every move works with touch alone.
How to think about winning
Three in a row with both ends open becomes an open four on the next move if left alone, and an open four can only be blocked on one side. Blocking one side of your opponent's open three early is the basic defence.
On your turn, look for a point that extends two of your lines at once. If there are two places that need blocking, your opponent can only cover one.
More games to play with Gomoku
- MinesweeperSolve a logic puzzle by reading the numbers and avoiding mines.
- 2048 GameMerge matching tiles on the way to 2048.
- Snake GameGrow a snake as long as you can without crashing.
Gomoku FAQ
Are there forbidden moves?
No. These are freestyle rules with no forbidden moves, and five or more in a row wins for black and white alike.
Can the computer move first?
Yes. Choose "Computer (you go second)" and the computer plays black and moves first.
Can two people play?
Yes. Choose "Two players" to take turns as black and white on one phone or PC.
How far does "Take back" go?
Against the computer, it goes back to your last move. With two players, it goes back one move at a time.
Is anything I do sent to a server?
No. The whole game runs in your browser, and your moves are never sent anywhere.
Related tools
- Snake GameSteer the snake with the arrow keys or a swipe, eat food and grow as long as you can. Choose the speed, board size and whether walls end the game.
- MinesweeperUse the numbers to work out where the mines are and open every safe square. Pick beginner, intermediate or expert; your first click is always safe.
- 2048 GameSlide the tiles so matching numbers merge, and work your way up to 2048. Play on a 4×4, 5×5 or 6×6 board and undo one move.
- Dice RollerRoll dice in your browser. Pick the number of sides, from 4 and 6 to 20 and 100, and roll 1 to 100 dice at once. The total and a history of your rolls are shown.
- Coin TossFlip a coin in your browser. Toss one coin or up to 1000 at once, and see the running count of heads and tails and the percentage of heads.
- Rock Paper ScissorsPlay rock paper scissors (janken) against the computer. Pick a hand and see the result right away, with a count of wins, losses, draws and your winning streak.
- Spacebar CounterCount how many times you can press the space bar within a time limit, and see your clicks per second (CPS). Choose 5, 10, 30 or 60 seconds; on a phone, tap the button instead. Free, no sign-up.
- Reflex TestTest your reflexes by hitting round targets that pop up one after another across the screen. Measures hits, misses and average reaction time over 20 targets, then gives a rating and keeps a personal best for each difficulty.
- Click Speed TestCounts how many times you can click or tap within a set time and shows your clicks per second (CPS). Choose 1, 5, 10 or 30 seconds, and your personal best is kept for each. Free, no sign-up.
- Reaction Time TestMeasure how many milliseconds it takes you to react when the screen changes color. It runs five trials, shows your average, fastest and slowest times, and keeps your personal best on this device. Click, tap or press Space. Free, no sign-up.
- Typing Speed TestType short English sentences for 30 or 60 seconds and get your WPM, accuracy and number of mistakes. Each letter turns green or red as you type. Free, no sign-up.
- Bingo Number GeneratorDraw bingo numbers one at a time. No number comes up twice, and you can use 75 balls, 90 balls or any maximum you like.
- Bingo Card GeneratorMake 5×5 bingo cards, up to 24 at once, and print them as they are. Numbers come from the standard range for each column without repeats, and you can choose whether the center is a free space.
- Roulette WheelA simple online roulette wheel: type your options and spin. Edit anywhere from 2 to 100 options, and remove each winner as you go if you like.
- Random Name PickerEnter one name per line and draw as many winners as you need. Nobody can win twice, so it works for prize draws, raffles and deciding who goes first.
- Amidakuji (Ghost Leg) MakerEnter names and outcomes to build a ghost leg lottery with random rungs. Tap a name to highlight the path it follows, and see where everyone ends up in a list.
- Gacha Probability CalculatorWork out your chances of pulling the character or item you want from a gacha, from the drop rate and number of pulls. Handles multiple copies and pity, and shows how many pulls you need for a 50%, 90% or 99% chance, the average number of pulls and a rough cost.
- Golf Olympic CalculatorScore and settle the golf side game Olympic (gold, silver, bronze, iron and diamond). Tap who won each medal on each hole and see totals and who pays whom right away.