MultiPlayer Game on Mobile via Bluetooth Technology - (Tarneeb)

Ahmad Abdellatif & Ahmad Sakhleh

* Introduction

The main idea was to make an entertainment project, because 78% of successful projects are in entertainment field. So we found that the Games are a good choice for our needs.

After a lot of searching and learning about the Mobile Systems , Games and Bluetooth Technology we Divided the Project into these Models:

Bluetooth Model :

  Building a Bluetooth network to connect multi Players.

•   Game Model :

Implementing the Multiplayer Game ( Tarneeb).

AI Model ( Artificial Intelligence) :

Implementing the Intelligence Rules to enable virtual Player.

 

  • You can play with your friends through Bluetooth using the player mode.
  • Also there is a mixed mode to play with your friends against or with mobile through powerful intelligent engine.
  • You can play any time ,any where & in any mobile that has Bluetooth.
  •  

    The Architecture of the Project is Upon Client/Server Architecture
  • Server :
  •            Starts the game by choosing the New Game Choice in the main menu. Popup will be shown telling the user that the App. Needs to Open Bluetooth Utility . The User will waits for the Clients to connect its device. After the clients are connected, the cards will be distributed and the game will be started.
  • Client:
  •           Connects the game by choosing the Connect Game Choice in the main menu. Popup will be shown telling the user that the App needs to Open Bluetooth Utility , then the user searches for the starter device to connect to it.

     

    * AI Engine

    We made a power full AI Engine within one month that thinks like human and may play best than them depending in the cards distribution; we adopt Rule based AI strategy . And we depend also on some Training set.
    We combined many strategies to implement a software with high performance and less memory consumption because of the limited mobile’s resources. The problems are:
  • Bluetooth Connection :
    • Bluetooth connection: we consumed a lot of time more than one month to make multi-Client connect to the server we thought that The sun toolkit Emulator has a real output but after the first test. We conclude that is not true we searched over the internet the problem are issued but no SOLUTION, So everything we program it we download the application to test it if it is working correctly or not.
  • Speed:
    • We distributed the computation & calculation on the clients to reduce the load on the server also by adopting this strategy we save time in sending & receiving data.
    • To increase the speed of the game in the mobile itself we repaint only the object that changes without needing to repaint all the screen. Repainting all screen consumes performance and time since the game are in full screen mode.

     

    We got the second rank in Mobile Monday Palestine Classification which was held in Ramallah on September 2010.

    any note or information about the project please do not hesitate to contact us on:

    Ahmad Abdellatif : [email protected]

    Ahmad Sakhleh   : [email protected]