/codename-ted

codename-ted

Primary LanguageC++

codename-ted/pirate panic

For CMSC-23800: Game Construction, Spring '17 @UChicago

  1. Project Overview
  2. Style Guide
  3. Networking/Server

Overview

To use: cmake . make

We are working with the idea of sailboats racing to an objective.

One of the sailboats is a pirate ship who is tasked with stealing the booty of the other sailboats. Each sailboat has to make it to the finish line with as much booty as possible.

If a sailboat loses all of its booty, it also loses the race.

Server

Click here to see the technical description of how the server should work

Hit jabois up in the #server channel on slack if you have any Qs.

The server uses and requires Boost, specifically Boost.Asio. The echo server and echo client binaries were compiled with boost_1_63_0.

I recommend taking a look at the udp client tutorial and the udp server tutorial to get an idea for how the game loop will work.

The registration stage makes sense to do via standard TCP/HTTP rather than the UDP/Web Socket Protocol employed for the game loop, so it would also be a good idea to take a look at the tcp client tutorial and the tcp server tutorial

We will be heavily relying on automated testing for this server. Boost.Test looks promising.

Style Guide

Check sample.cpp and sample.h for generic style guidelines.