+ All Categories
Home > Business > Connect 4

Connect 4

Date post: 07-Jul-2015
Category:
Upload: celine00122
View: 254 times
Download: 6 times
Share this document with a friend
Popular Tags:
17
Transcript
Page 1: Connect 4
Page 2: Connect 4

Project specification

Software requirement specification

Coding Architecture based on MVC

Features of our application

OTA and WAP push

Demonstration

Page 3: Connect 4

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.

Page 4: Connect 4

Explanation in the diagram

Page 5: Connect 4

Thanks to Wikipedia

Page 6: Connect 4

MVC Control

View(Canvas) Network

Midlet

Server

Client Side

Server Side

Internet

Page 7: Connect 4

Socket connection

Send and receive data

Dynamic domain name

(Server could be anywhere)

Page 8: Connect 4

Responsible for logic and algorithm

Invoke View layer and Network layer

Composition a chess class which stores

all data of chess

Page 9: Connect 4

Responsible for displaying everything in

Canvas

If something should be displayed on

screen, invoke repaint()

Page 10: Connect 4
Page 11: Connect 4

Flash lite: already saw

OTA, Wap push: new version notification

Demonstration: game

Run seamlessly on a variety of devices

• Socket connetion

WURFL

Page 12: Connect 4

Flash lite

› already saw

› Version 1.1

Page 13: Connect 4

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

Page 14: Connect 4

WAP push

server only accept 2 users exit now? Both disconnect playing

exceed 30s? Automatically… win continue show…

one exit, both disconnect

Page 15: Connect 4

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

Page 16: Connect 4

WURFL

› PC

› Mobile device

Page 17: Connect 4

Thank You


Recommended