developing mobile applications id2216/umt
DESCRIPTION
Developing Mobile Applications ID2216/UMT. Checkers Game. By : Behzad Salim Aroony Kambiz Ghoorchian. Outline. Checkers Game Design and Implementation Technical description Classes and Packages Message passing and thread Communication protocol How to play Conclusion. Checkers Game. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Developing Mobile Applications ID2216/UMT](https://reader035.vdocument.in/reader035/viewer/2022062315/56815eea550346895dcd9d92/html5/thumbnails/1.jpg)
1
Developing Mobile ApplicationsID2216/UMT
Checkers Game
By:Behzad Salim AroonyKambiz Ghoorchian
![Page 2: Developing Mobile Applications ID2216/UMT](https://reader035.vdocument.in/reader035/viewer/2022062315/56815eea550346895dcd9d92/html5/thumbnails/2.jpg)
OutlineCheckers GameDesign and Implementation Technical description
Classes and PackagesMessage passing and threadCommunication protocol
How to playConclusion
2
![Page 3: Developing Mobile Applications ID2216/UMT](https://reader035.vdocument.in/reader035/viewer/2022062315/56815eea550346895dcd9d92/html5/thumbnails/3.jpg)
Checkers GameCheckers is the name of
several different board games.
All of these games are similar.
In every kind of checkers, the other player's pieces can be taken by being "jumped" over.
3
![Page 4: Developing Mobile Applications ID2216/UMT](https://reader035.vdocument.in/reader035/viewer/2022062315/56815eea550346895dcd9d92/html5/thumbnails/4.jpg)
Design and Implementation Application is designed using:
J2MEJTWI (Java Technology for wireless industry)
MIDP 2.0CLDC 1.0
Implementation IDE and Running EmulatorEclipse 3.4.1Sun Wireless toolkit 2.5.2
4
![Page 5: Developing Mobile Applications ID2216/UMT](https://reader035.vdocument.in/reader035/viewer/2022062315/56815eea550346895dcd9d92/html5/thumbnails/5.jpg)
Technical descriptionClasses and packages
CheckersMidlet.java The main class of the application,
CheckersCanvas.java The graphical part of the application Uses The canvas as the container Uses graphics class in order to paint the states of the game
ColorType.java An abstract class which is made to increase the generalization.
Communicator.java A threaded class Responsible for all the communications of the game
Main packages used in the application javax.microedition.lcdui javax.microedition.midlet javax.microedition.io javax.wireless.messaging
5
![Page 6: Developing Mobile Applications ID2216/UMT](https://reader035.vdocument.in/reader035/viewer/2022062315/56815eea550346895dcd9d92/html5/thumbnails/6.jpg)
Technical descriptionMessage passing and threaded:
The application uses simple asynchronized SMS message passing as its communication Schema.
Communication part is threadedWill be run in parallel with the appSends the messageWaits for the other peer’s response
6
![Page 7: Developing Mobile Applications ID2216/UMT](https://reader035.vdocument.in/reader035/viewer/2022062315/56815eea550346895dcd9d92/html5/thumbnails/7.jpg)
Technical descriptionCommunication Protocol
In order to pass the game states and decisions between peers we used a self instructed communication protocol. ex.“INVITE” => Invitation Message“07” or “+5” => Turn And color selectionetc…
7
![Page 8: Developing Mobile Applications ID2216/UMT](https://reader035.vdocument.in/reader035/viewer/2022062315/56815eea550346895dcd9d92/html5/thumbnails/8.jpg)
How to play
8
Press lunch for both applications.
![Page 9: Developing Mobile Applications ID2216/UMT](https://reader035.vdocument.in/reader035/viewer/2022062315/56815eea550346895dcd9d92/html5/thumbnails/9.jpg)
How to play
9
Press yes to communicate.
![Page 10: Developing Mobile Applications ID2216/UMT](https://reader035.vdocument.in/reader035/viewer/2022062315/56815eea550346895dcd9d92/html5/thumbnails/10.jpg)
How to play
10
Enter the target phone number
![Page 11: Developing Mobile Applications ID2216/UMT](https://reader035.vdocument.in/reader035/viewer/2022062315/56815eea550346895dcd9d92/html5/thumbnails/11.jpg)
How to play
11
Approve the connection by pressing the invite button.
![Page 12: Developing Mobile Applications ID2216/UMT](https://reader035.vdocument.in/reader035/viewer/2022062315/56815eea550346895dcd9d92/html5/thumbnails/12.jpg)
How to play
12
Also approve by the player
![Page 13: Developing Mobile Applications ID2216/UMT](https://reader035.vdocument.in/reader035/viewer/2022062315/56815eea550346895dcd9d92/html5/thumbnails/13.jpg)
How to play
13
Color selection by the system based on the phone number
![Page 14: Developing Mobile Applications ID2216/UMT](https://reader035.vdocument.in/reader035/viewer/2022062315/56815eea550346895dcd9d92/html5/thumbnails/14.jpg)
How to play
14
Color Approve
![Page 15: Developing Mobile Applications ID2216/UMT](https://reader035.vdocument.in/reader035/viewer/2022062315/56815eea550346895dcd9d92/html5/thumbnails/15.jpg)
How to play
15
Color approve
![Page 16: Developing Mobile Applications ID2216/UMT](https://reader035.vdocument.in/reader035/viewer/2022062315/56815eea550346895dcd9d92/html5/thumbnails/16.jpg)
How to play
16
There are three variables :1. The turn2. Number of circles3. Color
![Page 17: Developing Mobile Applications ID2216/UMT](https://reader035.vdocument.in/reader035/viewer/2022062315/56815eea550346895dcd9d92/html5/thumbnails/17.jpg)
How to play
17
Send message for play
![Page 18: Developing Mobile Applications ID2216/UMT](https://reader035.vdocument.in/reader035/viewer/2022062315/56815eea550346895dcd9d92/html5/thumbnails/18.jpg)
How to play
18
Game in progress
![Page 19: Developing Mobile Applications ID2216/UMT](https://reader035.vdocument.in/reader035/viewer/2022062315/56815eea550346895dcd9d92/html5/thumbnails/19.jpg)
How to play
19
Game in progress
![Page 20: Developing Mobile Applications ID2216/UMT](https://reader035.vdocument.in/reader035/viewer/2022062315/56815eea550346895dcd9d92/html5/thumbnails/20.jpg)
ConclusionBeta version of the application is releasedTested on sun wireless toolkitFixed some bugs and still under testDidn’t test on other devices yetWorking on push method as further
development
20
![Page 21: Developing Mobile Applications ID2216/UMT](https://reader035.vdocument.in/reader035/viewer/2022062315/56815eea550346895dcd9d92/html5/thumbnails/21.jpg)
Questions
?
21