Peer-to-Peer Middleware Lab (Summer 2014)

In this year's lab course, we explore peer-to-peer mechanisms for state management in multiplayer online games. The virtual worlds of such games typically contain lots of objects, each having its own (modifiable) state. With the peer-to-peer approach, the game state is not managed centrally on a server, but distributed and replicated over all participating peers, avoiding the central single point of failure.

The peer-to-peer approach, however, has several challenges, such as:

  • concurrent access to state,
  • leaving and failing peers (churn),
  • unbalanced load, and others.
The goal of this lab course is to design, implement and evaluate peer-to-peer mechanisms for multiplayer online game state management. We will use a simple game for the prototypical implementation and evaluation.

Some the relevant issues are:

  • agreement
  • backup and failover
  • load balancing
  • scalability

Meetings and Slides

Initial Meeting 23.04., 9:50-11:30, A313 Introduction & Organization slides
console demo
source code
Phase 1 30.04., 9:50-11:30, A313 Game concept, initial implementation
Phase 2 14.05., 9:50-11:30, A313
Phase 3 28.05., 9:50-11:30, A313
Phase 4 11.06., 9:50-11:30, A313
Phase 5 25.06., 9:50-11:30, A313
Phase 6 09.07., 9:50-11:30, A313
Final Presentation 30.07., 9:50-11:30, A313
Delivery of Report and Source Code 31.08., 23:59


Please register via TUCaN or write us an email.


  • Programming in Java or C++
  • Creativity
  • Willingness to work in a team


  • Understanding the concept of peer-to-peer computing
  • Implementing and testing large-scale network applications
  • Successfully work in a team


The lab will be held in English. All students' presentations and texts can either be in English or German (English preferred).

Course Information

TUCaN link 20-00-0269-pr
Meeting Wednesday 9:50-11:30
Area Net Centric Systems
Course Type Lab (de: Praktikum)
CP (SWS) 6 (4)
Language English/German
Office hours by arrangement


Robert Rehner Max Lehn
A A A | Print | Contact | Legal note | Search