Royal Institute of Technology (KTH) ID 2216 – Developing Mobile Applications By Sun Gang A P2P Bluetooth Game based on J2ME: WordWar Sun Gang Zhang Gang.

Slides:



Advertisements
Similar presentations
Legal Meetings: Extended Instructions on Movica and Screencast.
Advertisements

LIVE in your classroom! Presented by The Amazing Pina Viscomi & The Equally-Amazing Ryan Vickers.
EEE436 / CS422 Preliminary Presentation Group
Global MP3 Geoffrey Beers Deborah Ford Mike Quinn Mark Ridao.
GP Patient Survey Mouse-click your way through step-by-step instructions Software Installation Guide.
Introduction of ZTE Handset Online Upgrade tool V1.1 version
Student Getting Started Guide Updated June Ensure that you are connected to the Internet. 2. Launch your web browser (Internet Explorer, Firefox,
EEE436 / CS422 Final Presentation Group
Kanban Task Manager for Outlook ‒ Introduction
Benchmark and Java Applet Test Scenario Presentation Outline Introduction to Benchmark Testing Procedure to create the test Benchmark Playback Results.
Welcome to Florida International University Online J.O.B.S. Link Applicant Tutorial.
Developers: Alexey Rastvortsev, Ilya Kolchinsky Supervisors: Roy Friedman, Alex Kogan.
Rheeve: A Plug-n-Play Peer- to-Peer Computing Platform Wang-kee Poon and Jiannong Cao Department of Computing, The Hong Kong Polytechnic University ICDCSW.
Welcome to the Brookdale Community College Online Employment System Applicant Tutorial.
Adnan Zameer Asim Shahzad Ali Raza. Description about the Project Online Survey Consists of Two Parts Wap Push Application & Online Survey.
Remote PowerPoint Yuan (Eric) He and Kenneth A. Bishop The University of Kansas A research project by The Access Grid Group at KU Chemical Engineering:
Academic Advisor: Prof. Ronen Brafman Team Members: Ran Isenberg Mirit Markovich Noa Aharon Alon Furman.
Team 13: Cody Smoker Chris Rickerd Matthew Berryhill Galaxy Sleuth.
(NHA) The Laboratory of Computer Communication and Networking Network Host Analyzer.
EValid Getting Started. Agenda Introduction to eValid First experience of using eValid Recording and Site Analysis in eValid.
Othello BTGame made by ID2216 Project Group Tao Sun Tao Sun Xuan Feng Lu-an Liu.
1 Welcome to the Colgate University Online Employment System Applicant Tutorial.
Introduction to eValid Presentation Outline What is eValid? About eValid, Inc. eValid Features System Architecture eValid Functional Design Script Log.
Beginning to use United Streaming Videos Kathy Davis EdTe 281.
SDReaderCE An Overview on Use and Functionality. Using SDReaderCE After loading the route to the handheld from SDReader6, select the route folder from.
Networking with Java. Basic Concepts A Network exists when two or more computers are connected such that they can communicate data back and forth. There.
COMPUTER TERMS PART 1. COOKIE A cookie is a small amount of data generated by a website and saved by your web browser. Its purpose is to remember information.
Blue Tears Project Bluetooth Tracking: Distributed Information Systems.
DB Audit Expert v1.1 for Oracle Copyright © SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.
Working with SharePoint Document Libraries. What are document libraries? Document libraries are collections of files that you can share with team members.
The interactive pub quiz game Interactive. Group Members Jo Chandler Jo Chandler Chris Martin (in Thailand!) Chris Martin (in Thailand!) Robin Noyce Robin.
FileSecure Implementation Training Patch Management Version 1.1.
V | © OverDrive, Inc | Page 1 User Experience: Library eBooks for Kindle.
Welcome to the University of Florida Online Employment System Applicant Tutorial.
Welcome to the Alaska Statewide System Online Employment System Applicant Tutorial.
1 Lab 3 Transport Layer T.A. Youngjoo Han. 2 Transport Layer  Providing logical communication b/w application processes running on different hosts 
Josh Probert – Yankee A Prototype based on Sierra’s SRS.
CS378 - Mobile Computing App Project Overview. App Project Teams of 2 or 3 students Develop an Android application of your choosing subject to instructor.
Developed as a partial fulfillment of the requirements of ID2216 Sumanta Saha Md Sakhawat Hossen Md Safiqul Islam sumanta, hossen, BlueTTT.
1 Guide to Novell NetWare 6.0 Network Administration Chapter 11.
Create Database Tables
Lab How to Use WANem Last Update Copyright 2011 Kenneth M. Chipps Ph.D. 1.
Welcome message. The background image would be an image of Electronic Circuit And have a flash action script to animate 0 and 1. This site would be for.
Designed and Developed by Mudassar Aslam & Shahzad Saleem Hangman for Mobile Phones.
Phones and fieldTask. Session Objective Be familiar with: – selecting smart phones for a survey, – configuring them – and using them – fieldTask (c) Smap.
1 Direct Manipulation Proposal 17 Direct Manipulation is when physical actions are used instead of commands. E.g. In a word document when the user inputs.
Javascript: More features B. Ramamurthy 7/4/2014B. Ramamurthy, CSE651C1.
HOW WEB SERVER WORKS? By- PUSHPENDU MONDAL RAJAT CHAUHAN RAHUL YADAV RANJIT MEENA RAHUL TYAGI.
Chapter 4 Initial Configuration Tasks. Understanding the Initial Configuration Tasks window Microsoft now provides a new feature, the Initial Configuration.
 Make sure you are subscribed to announcements on Moodle.  Activity 4 will be due 48hrs after your lab ends.
Spong Bluetooth game Developed by: Erik Matzols Fredrik Lindberg.
Medieval Netwars By: Josh Allman, David Keegan
Damian Tamayo Tutorial DTM Data Generator Fall 2008 CIS 764.
11/25/2015Slide 1 Scripts are short programs that repeat sequences of SPSS commands. SPSS includes a computer language called Sax Basic for the creation.
SilkTest 2008 R2 SP1: Silk4J Introduction. ConfidentialCopyright © 2008 Borland Software Corporation. 2 What is Silk4J? Silk4J enables you to create functional.
Service Discovery Protocols Mobile Computing - CNT Dr. Sumi Helal Professor Computer & Information Science & Engineering Department University.
Configuring and Troubleshooting Identity and Access Solutions with Windows Server® 2008 Active Directory®
CS212: Object Oriented Analysis and Design Lecture 19: Exception Handling.
Alpha Release Chris Krawiec Steven Moxley Kathryn Neugent Mike Shick Fan Zhang Only the best, most secure online Boggle™ clone ever to be produced at GWU.
Integrated ISO ILL for staff users Borrowing requests – part one Yoel Kortick 2007.
BLOG STARTUP. What is a blog A Blog (or weblog) is an online journal or ‘diary’ that can be immediately and easily updated. A Blog can consist of a list.
Part A. Remote Viewing IP Surveillance Camera Application Guide.
Easy Access with templates I: Create a database Lesson 16 By the end of this lesson you will be able to complete the following: Find the best database.
 This work confers an application which makes possible to use a Bluetooth enabled mobile phone to remote control home appliances such electric fan, LEDs.
How to use Drupal Awdhesh Kumar (Team Leader) Presentation Topic.
British Library Document Supply Service (BLDSS) API
Resource Sharing Locate
Canvas Discussion Boards
Canvas Discussion Boards
Binding Serial Issues with a Work Order
Presentation transcript:

Royal Institute of Technology (KTH) ID 2216 – Developing Mobile Applications By Sun Gang A P2P Bluetooth Game based on J2ME: WordWar Sun Gang Zhang Gang Wu Xiao 11th March 2008

Slide 2 By Sun Gang Royal Institute of Technology (KTH) ID 2216 – Developing Mobile Applications Outline Project Introduction Game Functionality Description using Flash Demo Game Design Description Game Website Design Description References

Slide 3 By Sun Gang Royal Institute of Technology (KTH) ID 2216 – Developing Mobile Applications Project Description Our project is to develop a peer-to-peer word guessing game with J2ME that similar to "Hangman". Enjoy :).The name of the game is “WordWar”.Hangman WordWar is run via Bluetooth. There are 2 players in a game, and their roles are equal. Player A chooses a word from a dictionary, and Player B tries to guess the word by suggesting letters (one letter at a time) or a whole word. The word to guess is represented by a row of dashes, giving the number of letters. If Player B suggests a letter which occurs in the word, the letter will appear in all its positions in the word; otherwise he/she loses a chance. The total chances for Player B is twice as many as the letters in the word. Player A also tries to guess the word chosen by Player B with the same condition. The game is over when: One player completes the word, or guesses the whole word correctly (He/She wins). One player fails too many times (The other player wins).

Slide 4 By Sun Gang Royal Institute of Technology (KTH) ID 2216 – Developing Mobile Applications Project Description (2) A B “door” _ _ _ _ 8 “door” _ o o _ 8 “o” “door” _ o o _ 7 “c” “door” d o o _ 7 “d” “door” d o o r 7 “r” Win! But d o o _ 0 “z” Lose

Slide 5 By Sun Gang Royal Institute of Technology (KTH) ID 2216 – Developing Mobile Applications Project Description (3) We have done the following four extra tasks: “The mobile application has to be enabled for download from your project-web-site, ie OTA. “ “The application has to run seamlessly on a variety of devices. “ “Your project-web-site uses WURFL for content-adaption.” “You describe your mobile application/service with a FlashLite manual or a Flash Lite demo.” We have tested the Game successfully in the following of device: Nokia N93 Nokia N95 T-Mobile SDA Sony Ericsson W900i Sony Ericsson Z750i You can download our game in the following link: You can visit our project via our project website:

Slide 6 By Sun Gang Royal Institute of Technology (KTH) ID 2216 – Developing Mobile Applications Project Description (4) Nokia N95

Slide 7 By Sun Gang Royal Institute of Technology (KTH) ID 2216 – Developing Mobile Applications Project Description (5) Nokia N95

Slide 8 By Sun Gang Royal Institute of Technology (KTH) ID 2216 – Developing Mobile Applications Project Description (6) Sony Ericsson Z750i

Slide 9 By Sun Gang Royal Institute of Technology (KTH) ID 2216 – Developing Mobile Applications Project Description (7) Sony Ericsson Z750i

Slide 10 By Sun Gang Royal Institute of Technology (KTH) ID 2216 – Developing Mobile Applications Game Functionality Description using Flash Demo We have used Adobe Flash to create a Flash Demo for our game. It is based Flash Lite 2.0 and Action Script 2.0. You can watch the demo via the following link: hp Now Let my group members use the Flash Demo to demonstrate our game!

Slide 11 By Sun Gang Royal Institute of Technology (KTH) ID 2216 – Developing Mobile Applications Game Design Description

Slide 12 By Sun Gang Royal Institute of Technology (KTH) ID 2216 – Developing Mobile Applications Game Design Description (2) WordWar consists of 5 Java classes: BTClient, BTServer, GameStatus, GameCommunicator and WordWarGUI. BTClient and BTServer are responsible for bluetooth discovery and connection setup. Generally, peer-to-peer bluetooth communication will require one mobile phone act as server and the other as client; but we decide to make WordWar "purelly peer-to-peer": each WordWar application will start both Client and Server session, it not only tries to discover other players but also makes itself discoverable. Therefore, if several mobile users want to play WordWar, they don't need to negotiate or let someone start WordWar server volunteerly, they can simply run WordWar and search all players nearby. This design makes WordWar much more convenient to play.

Slide 13 By Sun Gang Royal Institute of Technology (KTH) ID 2216 – Developing Mobile Applications Game Design Description (3) GameStatus is a helper class used to record players' game status. GameCommunicator is used for peer-to-peer communication and game logic handling. Several protocl messages (START_MESSAGE, QUIT_MESSAGE, WIN_MESSAGE, etc) are defined to control game progress. At the beginning of each round of the game, each player will select a challenge word for his/her opponent, this word will be checked against the dictionary file included in WordWar.jar, and make sure it is not a randomly makeup. The opponent will receive the challenge word as a row of dashes, for example: if Player A choose the word "mobile", then it will appear as "------" to Player B. Some words are rather complex while some others may be easy to guess, to make the game fair and more fun, we decide that each player will allow twice as many guesses as the letters in the word. In the example above, Player B will have 12 chances to complete the word. The first player finishes his/her challenge word wins, and the first player used all his/her chances loses. At the end of each round, players can choose whether to continue play next round or quit.

Slide 14 By Sun Gang Royal Institute of Technology (KTH) ID 2216 – Developing Mobile Applications Game Design Description (4) WordWarGUI is the main class that controls the GUI and game progress, it is also responsible to handle all the failures and exceptions. Because all the communication classes (GameCommunicator, BTClient and BTServer) run in separate threads, WordWarGUI will not block during transmission, it always responds to user immediately. In each bluetooth neighbor discovery, WordWarGUI will start a timer for 25 seconds, and display a progress bar to inform the searching progress. If no neighbors are found within the timeout, WordWarGUI will cancel the searching thread automatically, avoide making user impatient. Users are allowed to configure their player names, which will be seen by other players in the game and neighbor discovery. WordWarGUI will inform the status (challenge word, remaining guesses) of player and his/her opponent during the game, and total score at the end of the game.

Slide 15 By Sun Gang Royal Institute of Technology (KTH) ID 2216 – Developing Mobile Applications Design Web Site Design Description Aim: content-adaption WURFL WURFL PHP Library wurfl_parser.php wurfl_class.php wurfl_config.php GetDeviceCapabilitiesFromAgent($_SERVER["HTTP_US ER_AGENT"]) getDeviceCapability('is_wireless_device')) getDeviceCapability('resolution_height') getDeviceCapability('resolution_width') Web-site with WURFL

Slide 16 By Sun Gang Royal Institute of Technology (KTH) ID 2216 – Developing Mobile Applications Design Web Site Design Description (2)

Slide 17 By Sun Gang Royal Institute of Technology (KTH) ID 2216 – Developing Mobile Applications References Tera-WURFL Library Last Visited – March 2008 PHP Visited – March 2008 Hangman last visted – March 2008

Royal Institute of Technology (KTH) ID 2216 – Developing Mobile Applications By Sun Gang Questions ???

Royal Institute of Technology (KTH) ID 2216 – Developing Mobile Applications By Sun Gang Thank You