CSIE52400 Distributed Systems, Fall 2007
Term Project
Service Migration -- A Continuously Playing Pong Game
Project Description
In this project, you are to implement a simple service migration middleware solution
and use a continuously playing pong game as an example. Service migration, or service
mobility, is the process of moving the service with the user without user intervention.
You are to simulate the process by user triggered service switching instead of automatic
service migration. To have a concrete example as a target, a continuously playing pong
game is used as an example. A pong game is the familiar game with a ball bouncing around
reflected by the walls and tablet(s) controlled by the player(s). If you have no idea what
a pong game is, tray the Flash Pong Game
available on the net.
The system should work like this. You play a pong game on a machine. In the middle of
a game, you push a bottom to switch the game to another host. Then you should be able to
keep playing the SAME pong game on that machine. By the word "SAME", it means that
the ball must be at exactly the same position on the game board where you leave the first
machine and running with exactly the same speed and direction. All other status of the
game must remain the same (such as the number of times remaining for missing the ball).
To add an additional layer of challenges, you should allow more than one game to be
played at the same time. All concurrent games are played independently, however.
Your implementation should be able to handle the following tasks:
- We will demonstrate the project all together.
- You should develop a join protocol to get to know each others.
- One or more players will be selected to start the game(s).
- Any game can be switch to any other player's machine at any time.
Project Demonstration and Reports
- Each student must prepare a project report at the time of demonstration.
- You should be ready to explain your code at the time of demonstration.
- Project demonstration and report are due one week after the final exam.
Projects of the Past Semesters
Back to CSIE52400 homepage.