When the player clicks on one of the grid spaces, it will be assigned either an “X” or an “O”. The game is over when one player claims 3 grid spaces in a row or there are no moves left.
A panel will indicate whose turn it is. When the game is over, a banner will display the winner or announce a draw if no one wins. A restart button will be displayed when the game is over, returning the game to the starting state when clicked.
1.Extend the chessboard form 3x3 to 6x6. 2.The current method to test the winning conditions by using brute force, cause this game is small enough. After extend the chessboard a better algorithm to check the winning conditons is necessary.