Gobang is an old popular board game of five-in-a-row - Written in Java.

Quote

Gobang is an old popular board game played in Asiatic countries with many variations and names like Gomoku and five-in-the-row. Using black and white stones, each player try to form a line with five adjacent stones of his color. Try it!