A multiplayer TicTacToe Game , basic UI and simple algorithm.
The game uses table in the xml format with rows and coloumns with button , represented as a 2-D aray in .java file. Code is easy to understand , the principle function is : private boolean checkWinner(char[][] board, int size, char player); It has three sections :
1. Checking if the rows have the same value(boolean).
2. Checking if the coloumns have the same value(boolean).
3. Checking if the diagonals have the same value(boolean).
That's it , rest is pretty much simple.
Please note :
To add the sting names according to your choice in values folder.
Adding/modifying color in the color folder placed in values folder.
.java is commented well, follow that !