Connect 4

414 views

Published on

Published in: Business, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
414
On SlideShare
0
From Embeds
0
Number of Embeds
22
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Connect 4

  1. 1.  Project specification  Software requirement specification  Coding Architecture based on MVC  Features of our application  OTA and WAP push  Demonstration
  2. 2.  A 2-person mobile game via a fixed server is implemented, also known as “CONNECT 4”;  The platform of development J2ME;  Type of handset and server;  The function of Server and Clients;  Data type/amount that need to be exchanged or transferred;  Quality of Service of game data communication.
  3. 3.  Explanation in the diagram
  4. 4. Thanks to Wikipedia
  5. 5. Control Midlet  MVC View(Canvas) Network Client Side Internet Server Side Server
  6. 6.  Socket connection  Send and receive data  Dynamic domain name (Server could be anywhere)
  7. 7.  Responsible for logic and algorithm  Invoke View layer and Network layer  Composition a chess class which stores all data of chess
  8. 8.  Responsible for displaying everything in Canvas  If something should be displayed on screen, invoke repaint()
  9. 9.  Flash lite: already saw  OTA, Wap push: new version notification  Demonstration: game  Run seamlessly on a variety of devices • Socket connetion  WURFL
  10. 10.  Flash lite › already saw › Version 1.1
  11. 11.  Can be download Over the air  WAP push functionality › Each time launch the game, if there is a new version, the server will notify the user
  12. 12.  WAP push  server only accept 2 users  exit now? Both disconnect  playing  exceed 30s? Automatically…  win  continue show…  one exit, both disconnect
  13. 13.  Run seamlessly on a variety of devices › We use socket connection to server › SO devices must support MIDP 2.0 › Some Sony Ericsson devices not support socket connection
  14. 14.  WURFL › PC › Mobile device
  15. 15. Thank You

×