Gomoku
Place stones at the intersections of the board. Win by aligning 5 stones vertically, horizontally, or diagonally. Play against CPU or 2-player mode.
Features
Play against CPU instantly
No registration or installation needed - just tap an intersection to start
3 difficulty levels and color choice
Choose from Easy, Normal, or Hard
2-player mode on one device
Indicator for last move and undo make alternating turns easy
Provisional placement on mobile
Tap twice to place - prevents accidental taps on intersections
How to Play
Choose your game mode
For CPU play, also select your color and CPU difficulty
Tap an intersection to place a stone
On touch devices, tap the same intersection again to confirm placement
Align 5 stones
Black and White alternate turns. First to align 5 wins.
Undo with the back move button
In CPU mode, both your move and CPU's move are canceled together
Play again with the rematch button
Start a new game with the same mode, difficulty, and color settings

Use Cases
Quick break during work or study
Play a single game against CPU between tasks
Play with family and friends
Take turns on a single phone or computer
Practice for children and beginners
Learn the rules and strategies with Easy difficulty
Challenge a strong CPU
Build your win record against Hard difficulty
Basic Knowledge
Difference between Gomoku and Renju
Both Gomoku and Renju are games where you win by aligning your stones vertically, horizontally, or diagonally. Renju is a competitive rule set that prevents Black (first player) from having too much advantage by restricting certain Black moves.
- Double-three and double-four:In Renju, Black cannot create both a three-pattern and a four-pattern simultaneously in a single move - this is a forbidden move that results in immediate loss.
- Overline:In Renju, Black cannot create six or more aligned stones. Only exactly five aligned stones counts as a win.
- This tool's rules:This tool uses standard Gomoku rules without forbidden moves. Aligning six or more stones also counts as a win.
Why the first player has an advantage and basic defensive strategy
In Gomoku, Black (first player) always has one more move than White, making the first player advantageous in games without forbidden moves. A key defensive strategy for White is to block the edges of the opponent's line before it extends to five.
- Block the four:When your opponent aligns four stones, you must immediately place a stone at the edge to prevent them from reaching five.
- Block the open three:An open three (three aligned stones with both ends empty) becomes an open four if left alone. You must block one end at the three-stone stage, as blocking at the four-stone stage still results in a loss.
Safety and Privacy
Runs entirely in your browser
Your input data is processed only within your browser and is never sent externally.
Processing only in your browser
Game progress and CPU thinking is processed entirely within your browser, and input data is not sent to any server.
Communications encrypted with HTTPS
Page loading is also encrypted by TLS, and content cannot be read by third parties.
No transmission to third parties
Input content is not sent to external services such as ad networks or trackers.
No automatic saving of results
Board state and game records and input suggestions are not stored on the server.
Follow RAKKOTOOLS on Google Search
202 useful tools become easier to find from Google Search and AI Search!
- Found in search
- Also shown in AI Search
- Discover new tools
Updates
- update #375
New tool added: Play Gomoku with CPU or 2-player matches
Featured Tools
RAKKOTOOLS is free to use!
Available free of charge for individuals and corporations, commercial and non-commercial use alike.No prior permission or usage application is required. Feel free to use it in various situations.

Use in streaming and videos
Use various tools such as lottery draws and raffles in live streams and videos.

Use in schools, work, and events
Can be used in various situations such as classes, team division, internal work, and events.

Introduction on Web, books, and SNS
Feel free to introduce it as a useful tool on web media, books, SNS, and other platforms.

Commercial use
Can be used for commercial purposes such as research, calculation, processing, and conversion in business and production.
If you mention it, I get motivated to create more tools!


If using in streaming and videos
Link to RAKKOTOOLS in the description, or Mention or display that you are using RAKKOTOOLS in the stream or video.
Credit example for the description
Usage guidelinesYou are free to use it for normal purposes. However, use for purposes that violate laws, infringe on third-party rights, impose significant load on the service, or otherwise interfere with service operation is prohibited.
We do not guarantee the accuracy or completeness of information and calculation results obtained from each tool.
This notice is a translation of the original Japanese text. If there is any discrepancy between the translation and the original, the Japanese original takes precedence.
