Introduction - If you have any usage issues, please Google them yourself
Three sons Lianzhu Gobang imitate the form, even when one of three sons and a line that is winning. Programming requirements: (1) players can set the size of the board, that is the beginning of the game enter a variable n (n = 3 ~ 9), so that the size of the board for the n × n. (2) the procedure to choose if-else statement to determine the winner, if the board this will be very large and cumbersome and are now required to use this feature to achieve the loop, and apply to the board of any size. (3)悔棋function can be set to require any party to repent after a game of chess in the other step will be the current step and the other side to remove the step, the side re-playing a game of chess.