Designed and Developed by Mudassar Aslam & Shahzad Saleem Hangman for Mobile Phones.
-
Upload
daisy-joseph -
Category
Documents
-
view
218 -
download
0
Transcript of Designed and Developed by Mudassar Aslam & Shahzad Saleem Hangman for Mobile Phones.
Designed and Developed byDesigned and Developed byMudassar AslamMudassar Aslam
&&Shahzad SaleemShahzad Saleem
Hangman for Mobile Phones
IntroductionHangman for Mobile Phone is divided into
two parts i.e.J2SE Based Hangman ServerJ2ME Based Hangman ClientTCP Based Communication
Hangman Server Hangman Server is developed in J2SE, as
multi-threaded application to accommodate multiple simultaneous players.
Containing all the Game Logic and Processing (Rich Client)
How it works:Listens for incoming connection requestsCreates a separate thread for each client/ player.Randomly loads words from dictionary and
presents it as a challenge to the player.
Hangman Server (Cont.)How it works:
Compares player response with the challenge and responds accordingly
Different Possibilities of Guess are:One letter guessComplete word guess
Hangman Client Hangman Client is developed in J2ME.It is a “Thin Client”How it works:
Player connects to server by taking IP from JAD file/User Defined
Player sends a new game request to get a challenge response.
Player sends his guess letter/word
Hangman Client (Cont.)If player’s guess contains letter and
His guess is correctThis was last letter required to complete the whole word
Player gets 5 points.This was not the last letter required to complete word
Player gets modified masked challengeHis guess is wrong, then his total number of tries
left are decremented.Game is lost if his total number of tries expire.
Technical Details
Hangman Server
Hangman Client
Hangman Client
Hangman Client
Project WebsiteProject Websitehttp://people.dsv.su.se/~shahzads/Hangman/index.htmlhttp://people.dsv.su.se/~shahzads/Hangman/index.html
Thanks!Thanks!
Comments & Questions