N in a Row
by: thanh.nguyen • 2
Tic-Tac-Toe, Gomoku, Bondesjakk, etc.. you define it. Players take turns placing pieces on a board. A piece can be placed in any empty square. The first player to get N pieces in a row -- horizontally, vertically, or diagonally -- wins. If all squares are filled before either player wins, then the game is a draw.