Name

  1. Bishal Karki
  2. Tommi Kallonen
  3. Were Oyomno

Idea

The basic idea is a multi-player game over TCP/IP. In multi-player mode 2, the competition is between two players. The concept of the game is a single puck that is deflected by the players from their mobile screens to other players mobile screens. For each miss in deflection that player looses a life. Each player has 5 lives on the onset.

Moving the deflector (AKA Mallent) can be accomplished in two forms

  1. Moving the mobile device –> acceloremeter based
  2. Using keys –> For testing purposes

Features

These features have been ordered in priority manner

  1. Game onset → join game, game options and quit game
  2. User capability to control puck to multiple screen with only actual mobile device in game
  3. Networking feature to internconnect the two players
  4. Detection of winner, draw & looser
  5. Update users details on openents mallet, direction of puck & when puck is struck with mallet
  6. Polishing of the UI

QAirHockey milestones

  1. QSensor → Accelormeter control of game (DONE)
  2. QSound –> for user experience (DONE on simulator but dropped from device)
  3. Qt System info –> this enables players with different device types to play (DONE)
  4. Qt networking (DONE)
  5. Game setup, option & quit (DONE)
  6. WIN/ Loose decision (DONE)
  7. Qt mobility (1.2 ) –>qhapticfeedback (NOT DONE)
  8. Porting to Nokia N900 (DONE)

Implementation Plan and Goals

Our implementation has been split into 3 main parts

  • Game logic & physics –> part where we place the puck on the screen and determine the protocol used to communicate to all stakeholders the current game situation
  • UI interactivity
  • Networking and protocol

This application is intended to be implemented on multiple devices to test the Qt run everywhere feature. However the first host devices in order will be

  1. Nokia N900 - freemantle
  2. Nokia N8 - Symbian^3
  3. Symbian s60 - Nokia N95
  4. Windows mobile 6.5 ?

Design

The stracture & design of the software

Screen shots

Simplified architecure

architecture.jpg

Codding experiences

  • Relatively easy you get used to
    • Especially the concept of slots & signals
    • Well documented
    • Plenty of decent library
  • Messy with the new mobility api
  • Some not very cleary documented aspects
    • E.g. Deploy on windows CE/mobile
    • Install the new mobility1.1 beta 2
  • But all in all the experience was good
  • Plenty of answers in the internet forums

Presentation slides

Presentation Slides:Slides

Report document

Source Package

version 1.01 qairhockey.zip

How to run software

Conclusion