Tic toe game
#1

[attachment=3303]


Project Report

ONLINE GAMING

Submitted by “ ABHAI KUMAR
( 2001101)
Project Guide “Prof. H. Bindu
Professor IIIT-Allahabad
CERTIFICATE
This is to certify that ABHAI KUMAR (2001101) of Indian Institute of Information Technology, Allahabad had taken and successfully completed his project, Online Gaming under Prof. Hema Bindu.
The project lends itself to 6 credit hours and has been carried out in full compliance with the requirements, specifications and constraints of the prescribed curriculum.

Date
Prof. Hema Bindu
Professor
IIIT-Allaabad

ACKNOWLEDGEMENT
We express our sincere gratitude and thanks to all those who have helped us in the completion of the project.
Of all the person who have helped us, we would first of all like to thanks Prof. H. Bindu under whose able and sincere guidance we have completed our project and who helped us at each and every stage of our project.
We would also like to thanks all our colleagues who provided us with valuable.
Suggestions, and helped us, directly and indirectly, in every possible way in the successful completion of the project.

ABHAI KUMAR
(2001101)
Content :
¢ Game Details
¢ Different classes used
¢ Tool Uses
¢ Feature modification
¢ Conclusion
¢ References :
Abstract : This project is a online gaming where multiple players can play a game from
different interconnected computers. One Server run on a host computer and it
accepts the request send by any client . Client can play game only if there is any
other player waiting to play the game.
Implementation on this whole project is done through Java which make project
platform independent. Game which is implemented using java is a scrabblet where
each player have make words from a given set of words.
Userâ„¢s guide:
Game Details:
This project works on the server- client application where one server is running on a host computer . All clients (players) have to send a request to the server which maintains a list of different clients ( players) which are waiting for other player to the game..
On the start player have to enter his/her name which will be displayed in the list of other players .Player have to select one player to start the game. Player are presented with a 15*15 grid of squares and given a set of seven square tiles with letters of the alphabet engraved on them .These tiles are selected at random from a bag of 100 tiles . The tiles can be clicked on with the mouse and dragged to a destination square

on the grid .If the spot is already occupied, the tile is returned to its original position. Tiles may be adjusted on the board during a turn ,but not when the turn is over.
The first player start by placing several tiles in a line on the board to form a word in the English language . The first word must cover the center square . Subsequent words must touch at least one tile already played on the board . The player clicks on the Done button to end the turn.





Developerâ„¢s Guide :
Different classes used :
1) Scrabblet :
The main class , also the first class to get called . itâ„¢s a handles all different classes
used to implement the game.
2) Bag :
The Bag class is very clean compared with Board .Its is a simple abstraction for
the bag of letters . When you create a Bag ,we pass in a random seed , which allows us to create two bags that are random but the same by passing in the same random seed .The random number generator is stored in rand.
3) Letter :
The Letter class is fairly clean in that it doesnâ„¢t know anything about the game or the board . It merely encapsulates the position and visual rendering of a single letter .It uses several static variable to hold information about fonts and sizes.
4) Server Connection:

This is last class in the client side of this applet is Server Connection , which encapsulates the communication with the server and our opponent .There are server variables declared at the beginning of the class . The socket port number to attach to on the server is 6564.

5) Server :
The Server is the main class for the server side of Scrabblet .Once this is installed
on the web server ,we have to run it. The Server class starts out by declaring a
few variable .The port has to be the same number ,6564 ,as we saw in server connection .The idcon Hash table is used to store all of the connection to all of the client.
6) Client Connection :

This is the mirror image of server connection in applet .one of these is created for each client .Its job is to manage all of the I/O to and from a client . The private instance variables hold all of the states about this client . A reference to the server instance that created this client is held in server . The name of the player on this client is stored in name ,while the playerâ„¢s automatically assigned ID number is held in id.
7) Intro canvas :
The Intro canvas subclass of canvas is very simple .It just overrides paint() to draw the name of the applet and a brief notice about developer .It create some custom colors and fonts . The display strings are held in static variables simply for clarity.


Tool Uses :

Online Gaming project is implemented by using Java .We have use Java because in a network, two very board categories of object are transmitted between the server and your personal computer passive information and dynamic ,active programs.
Project uses different classes of Java which are there in Java main classes used are as following .
¢ Applet
¢ Button
¢ Text field
¢ Grid layout
¢ Threads
¢ Server socket
Future Modifications :

In future we can add one more features in our project , that is we can implement dictionary to our game . this enables game to pick only correct words which are formed by the players. We not implemented dictionary at present because appletâ„¢s security does allow any dictionary to be compatible with it. In order to implement dictionary in future we have to given set of words to the sever and each time player press done ,server search for that word in the set of words , if match found server will update the score .
Conclusion :

Through this project, I came to know a lot about the Java language and the Network architecture and how code a client “server application. For this game there is no need of an extra software, it should only be a Java enabled web browser. This game has been successfully verified and tested although there is a lot of scope for improvement.

References :
1) Core java I & II: Helped us with the technicalities involved in the Java Language as well as the concepts involved.
2) Networking in Java:- Developers handbook for networking in java.
3) sun.java.com
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: tic tac game program in c, train seminar game downlode, tic tac toe project report in java pdf, osmosis game**er, ppt for t of a tic toe game, the idea of tic tac toe report, mini project tic tac toe srs,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  Visual Learner Memory Game seminar presentation 2 1,933 25-03-2016, 12:03 PM
Last Post: dhanabhagya
  How Much to Share: A Repeated Game Model for Peer-to-Peer Streaming under Service Dif Projects9 0 995 23-01-2012, 05:19 PM
Last Post: Projects9
  Distributed Uplink Power Control in Multiservice Wireless Networks via a Game Theoret Projects9 0 818 23-01-2012, 04:56 PM
Last Post: Projects9
  QUIZ GAME smart paper boy 0 1,725 16-08-2011, 03:29 PM
Last Post: smart paper boy
  MULTIPLAYER SNAKES AND LADDERS GAME smart paper boy 0 1,649 21-06-2011, 04:49 PM
Last Post: smart paper boy
  JAVA 2D GAME smart paper boy 0 1,288 21-06-2011, 11:37 AM
Last Post: smart paper boy
  Tetris game java source code download project coder 0 3,008 10-05-2011, 05:51 PM
Last Post: project coder
  Sudoku game seminar class 0 2,022 20-04-2011, 02:35 PM
Last Post: seminar class
  REVO TRON - 3d racing game source code seminar presentation 0 2,379 19-05-2010, 07:33 PM
Last Post: seminar presentation
  SU-DO-KU Puzzle Game seminar presentation 0 1,621 19-05-2010, 04:06 PM
Last Post: seminar presentation

Forum Jump: