Gomoku is an ancient japanese board game and means five points.
The two players alternately put one of their stones on the 19x19 game board.
The player wins, who first gets an unbroken row of five stones,either orthogonally or diagonally.
With perfect play, the beginner always wins.