Search This Blog

Saturday, 30 July 2016

Tic-Tac-Toe Application in Java using Applet

The application runs with all the rules and it also checks which player (Blue or Red) wins. Moreover it keeps a record of the number of games won by the players. After each game the result is shown and the next game starts automatically with the score of all the previous games. In addition to the the buttons, the application also maintains an 3x3 array in order to check if a game is won or  drawn.


View Source Code
Download class file

Some of the screen shots of the application are given below.







No comments:

Post a Comment