Java programming for Tic Tac Toe(knots and crosses) with two levels

Java applet for Tic Tac Toe (knots and crosses) with two levels

An early variant of Tic-tac-toe was played in the Roman Empire, around the first century BC. It was called Terni Lapilli and instead of having any number of pieces, each player only had three, thus they had to move them around to empty spaces to keep playing. The game's grid markings have been found chalked all over Rome.

This game is for two players, X and O, who take turns marking the spaces in a 3×3 grid. The player who succeeds in placing three respective marks in a horizontal, vertical, or diagonal row wins the game.

 Two levels: - hard and easy
  New Game to start new game
Comp : O         User : X




how to compile :- javac main.java
     appletviewer main.java



Download Source File                                                                                     Download Source File




Comments