Gomoku: Five in a Row vs the Computer
Play gomoku free online on a 15 × 15 board: get five in a row before the computer does. Three levels, undo and a win count. Free, with no sign-up.
Gomoku is a simple game with surprising depth: take turns placing stones on a 15 × 15 grid, and the first to get five in a row across, down or diagonally wins. You play black and move first; the computer plays white. On Easy it misses threats, Medium blocks the obvious ones, and Hard looks for open fours and double threats and will punish a single careless move. The last stone played is ringed so you can follow the game, and Undo takes back your last move and the computer's reply. It runs in your browser with nothing to install and no account, on a computer, tablet or phone. Your wins and losses save in this browser.
Common use cases
- Play a fast strategy game with no rules to learn
- Get better at spotting open threes and fours
- Play five in a row on a phone or tablet
- Warm up for games of go or connect-four style games
How to use
- Choose Easy, Medium or Hard.
- Tap any point on the board to place a black stone.
- Block the computer's lines of three and four while building your own.
- Get five in a row in any direction to win. Use Undo to try a different move.
FAQ
How do you play gomoku?
Players take turns placing one of their stones on an empty point. The first player to make an unbroken line of five stones horizontally, vertically or diagonally wins.
Is gomoku the same as five in a row?
Yes. Gomoku is the Japanese name for the game, and it's also known as five in a row. This version counts a line of five or more as a win, which is the free-style rule most casual players use.
What is the best strategy in gomoku?
Make threats the other player must answer. An open four (four in a row with both ends empty) can't be stopped, and two open threes at once usually win too. Always check whether the computer has three in a row before you attack.
Does the first player have an advantage in gomoku?
Yes, a big one with free-style rules. That's why tournament play uses opening rules. Here you always move first, which makes the Hard level fairer.
Related tools
- Four in a Row Game: Drop Discs, Line Up 4Play four in a row online, the disc-dropping game also known as Connect 4. Line up four before the computer…
- Tic Tac Toe: Play vs Computer or a FriendPlay tic tac toe online against the computer, from easy to unbeatable, or with a friend. Be X or O, keep…
- Reversi Online: Free Game vs ComputerPlay reversi free online against the computer at three levels or a friend on one device. Legal moves shown…
- Chess: Play Online vs Computer or a FriendPlay chess free online against the computer at three levels or a friend on the same device. Legal-move dots…
- Dots and Boxes: Play OnlinePlay dots and boxes online against the computer or a friend. Draw lines, close boxes to score and take…
- Checkers: Play Online vs ComputerPlay checkers (draughts) online against the computer at three levels or a friend. Forced jumps, multi-jumps…