Game5: Multiplayer

Game5 challenges you to build a multiplayer game with a client-server architecture.

Your goal is to start with a fork of the game5 base code and develop a new game which features client-server multiplayer.

What You Need To Do

(More on game scoring.)

How To Do It

The challenge of this assignment is in figuring out what the state the server should hold and update and how the clients and server should communicate.

  1. Fork the base5 code as a starting point.
  2. Refer to the Networking lesson for high-level guidance.
  3. Refer to the server.cpp and PlayMode.cpp code for basic usage of the Connection.hpp/Connection.cpp code. (Feel free to replace / re-write Connection if you want, but keep cross-OS compatibility in mind.)
  4. Fill in the missing sections in README.md to document your project; replace screenshot.png with a screenshot of your game. (The base code is already set up to capture a screenshot whenever you press the PrintScreen key.)
  5. Turn in the game using the form linked above.

Restrictions

warning sign

Use something that's not DrawLines for your graphics -- you've got a font rendering library from last game and scene graph and mesh loading experience from the game before. So make a games that doesn't look like the base code! (DrawLines is okay for a bit of debug drawing if you need it, of course.)

Not following this restriction will result in a code score of 0pts for the game.