Cary Brisebois
cbrisebo@uvic.ca

September 1998
Settlers V1.1

Client:
SemPack.c 
SemPack.h
ShmPack.c
ShmPack.h
callbacks.c
callbacks.h
chatmessages.c
chatmessages.h
defs.c
defs.h
developmentcards.c
developmentcards.h
drawing.c
drawing.h
listener.c
listener.h
main.c
main.h
makefile
playerstatus.c
playerstatus.h
sender.c
sender.h

Server:
SemPack.c 
SemPack.h
ShmPack.c
ShmPack.h
chatmessages.c
chatmessages.h
defs.c
defs.h
listener.c
listener.h
main.c
main.h
makefile
playerstatus.c
playerstatus.h
sender.c
sender.h
sharedmessages.c
sharedmessages.h

To compile, simply run make for both the server and the client.  If there is a libsx error, you will have to change the include option in the makefile to reflect the location of libsx.  This program requires a kernel with Semaphores and Shared Memory enabled.

Note: the SemPack and ShmPack were written by Kuhan Milroy, 30-OCT-96.

Settlers of Catan is a multi-player, single-server game of growth and expansion.

The server will accept commands:
 -p #   The number of players to listen for.  Between 2 - 4.
 -s #   The score to win.  Between 9 - 15.

Rules:
	Start of game.
	Each player must place two settlements and two roads (one at a time) in order of the turn.

	Playing the game.
	Turn phases:
	1. Roll
	2. Trade
	3. Build
	4. End
	(At any time during their turn, the player may play one development card.)

	Only the phasing player may initiate a trade.
	You may not trade after building.
	The winner is the first to 10 victory points.
		(settlement = 1, city = 2, largest army = 2, and certain development cards = 1/card)
	
	Settlements may not be placed adjacent to each other, all built objects must be connected to another after the initial build phase.
	Cities replace settlements.


	Things to add:
	- Better interface than libsx has to offer
	- AI for computer players

	Changes in 1.1:
	- Added Longest Road calculation. (Longest Road is worth 2 points.)

	Bugs:
	- Says largest army when you take the longest road from another player.  DOH!
	- Doesn't update screen immediatly when you get largest army.
