Wuziqi, also called Five in a Row, is a strategy game played with black and white stones on a Go board. The Saito module was developed to show how easy it is to implement games of this sort.
Players take turns placing a stone of their color on an empty intersection atop the 12x12 board. Black plays first. The winner is the first player to form an unbroken chain of five stones horizontally, vertically, or diagonally. If placement creates a line of more than five stones that is considered an "overline" and does not result in a win.