CS4444: Programming & Problem Solving, Fall 2004
[Project 3: Maps]
Game Design, Interfaces, Player Guide & Class Notes




Group Assignments
The following is the group assignment for this project:
1RMBCVBARREDnew Color(1.0f,0.0f,0.0f)
2PJBBSUV-GREENnew Color(0.0f,1.0f,0.0f)
3SOVAMBP-BLUEnew Color(0.0f,0.0f,1.0f)
4JRJCPV-YELLOWnew Color(1.0f,1.0f,0.0f)
5CMHKMSS-CYANnew Color(0.5f,1.0f,1.0f)
6MAMAGJCR-PURPLEnew Color(1.0f,0.5f,1.0f)
7AVKZZDJ-ORANGEnew Color(1.0f,0.8f,0.3f)
8ELGLWRT-PINKnew Color(1.0f,0.67f,0.67f)
9PORGAD-ORCHIDnew Color(0.855f, 0.438f, 0.855f)


Project Reports



Tournament Results

Game Design

Exposed Game Engine Methods
The following methods are exposed by the game engine and are available to the player:

public ArrayList Cities() throws Exception;

public ArrayList Links() throws Exception;

Method Description
Cities() Euclidean Coordinates and names of the cities on the map. Each element of the ArrayList is of following type:
	class _City
	{
		String name;
		double x, y;
	}
Links() Distances between cities on the map. Each element of the ArrayList is of following type:
	class _Link
	{
		String linkname;
		String city1, city2;
		double distance, speed;
	}

Player Interface
Players are required to implement the following interface:

public interface IFCPlayer extends IFCConstants, Serializable {

public void register(Maps __maps) throws Exception;
public String name() throws Exception;
public boolean interactive() throws Exception;
public Color color() throws Exception;
public Move move() throws Exception;
}
Method Description
register(Maps __maps) Gives the Player a chance to get Game configuration parameters by calling the exposed methods of the Maps object __maps.
name() Returns the name of the Player.
interactive() HumanPlayer returns true, everyone else returns false.
color() Returns the color of the player.
move() Returns the sequence of images to be displayed.


Software
The full software source tree and class files are available from:

http://www.cs.columbia.edu/~kamra/CS4444/Project2/Software

In addition, a targzipped version of the directory is also available in that directory. You can access the targzipped file directly at:

http://www.cs.columbia.edu/~kamra/CS4444/Project2/Software/software.tar.gz



Class Notes

4th October, 2004

6th October, 2004

13th October, 2004

18th October, 2004


kamra-at-cs.columbia.edu