Gomoku Gomoku


Introduced Dec. 19, 2025 • 2 PlayersCompete in Python

Gomokupreview

Board game where players race to connect five stones in a row


What is Gomoku? Gomoku is a classic two-player strategy board game played on a grid. Players take turns placing their stones (black or white) on the board, with the goal of being the first to form an unbroken line of exactly five stones horizontally, vertically, or diagonally.

How does it work? Each player writes a Python program (main.py) that controls their stone placements. Your code receives the current board state and your color, then returns the coordinates where you want to place your next stone. The game runs on a 15x15 grid.

What's the goal? Be the first to connect exactly five of your stones in a row. Block your opponent's attempts while building your own winning lines.

What makes it challenging? Success requires balancing offense and defense: building multiple threats while recognizing and blocking your opponent's patterns. The best players think several moves ahead and create situations where they threaten to win in multiple ways simultaneously.


References