Thursday, 16 March 2017

Tic Tac Toe (Advance Java / NetBeans 7.4)


Introduction
This project report has been designed, created, on the programming language JAVA.
Java is a platform independent programming language and is fully based on OOPS (Object Oriented Programming Structure).
It is really a great platform to design and develop small and simple applications, easily and instantly.


Concept
The concept of this application is for entertainment. Tic Tac Toe is the oldest game but is evergreen. Children of this generation also, play Tic Tac Toe as it is an interesting game and enjoyable too. This application also supports overwriting of the Symbols, if no player wins, then players can overwrite existing symbols.
(This is a prototype of Tic Tac Toe)

Technology Used
Java Net Beans 7.4

Process
1. Main Window

  1. Play
  2. How to Play
  3. Settings


2. "Play" Window
    If you will not input names, it will show us a message, "Input Names to play game"


  • Input Names


  • "Play Tic Tac Toe" window. Start Playing. Player 1 will have choice, which symbol he wants to select. The symbol he selects, Player 2 will automatically give the opposite symbol of it.




  • When a player wins, a dialog box will appear and his score will get calculated. Then, in the dialog box:-
    • If you click on "Continue", same game will continue succeeding the score.
    • If you click on "Restart", same game will continue but will initial scores of both the players, that is, 0 (zero).
    • If you click on "Quit", the application will close.




  • If given positions of X and Y are filled already then it will show us the message, "Place Already Filled".



3. "How to Play" Window
    This window shows us how to play this game.



4. "Settings" Window
    Through this window, we can select different type of Tic Tac Toe boards, that we want to use in our game play. We have 3 types of boards:-
               1. Default Board
               2. Blue Board
               3. Butterfly Board






Practical Working of this Project (Video)

This project was designed and developed in year 2014 by Rahul Mathur (me) who is doing his Master degree from Suresh Gyan Vihar University, Jaipur, Rajasthan, India.