Game6: Multiplayer
Game6 challenges you to build a multiplayer game using a client-server network.
Your goal is to start with a fork of the game6 base code and develop a new game which features client-server multiplayer.
What You Need To Do
- [1pt] Tell me what you are making (due before class, Thursday, October 22nd) -- use this google form.
- [2pt] Turn in what you made (due before class, Tuesday, October 27th) -- use this google form.
(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.
- Fork the base6 code as a starting point.
- Refer to the Networking lesson for high-level guidance.
- 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.)
- 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.)
- Turn in the game using the form linked above.
The official inspirational song of game6 is "Matchbook Seeks Maniac" by Deerhoof.