1 / 8

Bluetooth-Based Multiplayer Action Game for PDA

Build a space game for Pocket PC using Bluetooth network. Players control 5 spaceships and must destroy enemy ships. Communication between players is synchronized using message passing.

arlas
Download Presentation

Bluetooth-Based Multiplayer Action Game for PDA

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Technion - Israel institute of technology department of Electrical Engineering הטכניון - מכון טכנולוגי לישראלהפקולטה להנדסת חשמל High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות דו”ח סיכום פרויקט משחק רשת ל- PDA מבוסס על תשתית רשת BlueTooth Performed by: Ran Ruder Li-Tal Mashiach Instructor: Konstantin Sinyuk סמסטר קיץ 2002 1

  2. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Abstract • The goal of this project is to build a multiplayer action game for pocket pc. The game should be based on BlueTooth network. • This game is a space game. Each players has 5 spaceships and each ship has special functionality. The goal of the game is to destroy the enemy ships. • The computer of the first player is the Server and each player that joins the game is a client - multi slave piconet. 2

  3. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Abstract • The communication between the computers is based on message passing. Input from a player is passed to the server, this message is being synchronized with all other messages and being spread to all the players. This way all the players will get the messages in the same order. • The player is allowed to choose to play over TCP (ethernet cable network) or BlueTooth protocol. 2

  4. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות System description Server Input from the local player תור ההודעות Input from the player Client Client Client 3

  5. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Specification • The game is written in C++. • The GUI is based on GapiDraw directories. • The communication is implemented on IPACs with Philips • BlueTooth Units. • the game is based on BlueTooth stack - RFServices, • implemented in previous project in this lab 4

  6. Thread ServerFuncחיפוש שחקנים חדשים Thread GameNextFrameרענון תמונת המסך Thread ComWithClientקבלת הודעות מהשחקן והכנסתן לתור Thread ComWithClientקבלת הודעות מהשחקן והכנסתן לתור Thread ComWithClientקבלת הודעות מהשחקן והכנסתן לתור פסיקות קלטקבלת קלט מקומי והכנסה לתור BonusHandler Thread MessageHandlerהפצת ההודעות בין השחקנים וקריאה לפונ' הטיפול המתאימה לכל הודעה High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות System Block Diagram For The Server: 5

  7. פסיקות קלטקבלת קלט מקומי ושליחה ל-Server Thread ClientFuncServerקבלת הודעות מה-וקריאה לפונ' הטיפול המתאימה לכל הודעה Thread GameNextFrameרענון תמונת המסך High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות System Block Diagram For the client: 5

  8. 1 POWER FIRE High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות game design 5

More Related