====================================================================== Faculty of Applied Science and Engineering, University of Toronto CSC181: Introduction to Computer Programming, Fall 2000 Connect Four Tournament Instructions and Rules ====================================================================== ------------ Instructions ------------ Follow the instructions below to submit an entry to the Connect Four Tournament. The instructions assume that your login is 'foo'. Substitute 'foo' with your login (all letters in lowercase) wherever it appears here. 1. Download tournament.h from the course Web site. 2. Write a subclass of TPlayer, called 'fooPlayer' which implements the following method: int suggestMove(const TBoard& b) To ensure that instances of fooPlayer can be created easily, make sure that it supplies a default constructor: fooPlayer() 3. Place the subclass implementation in a file called 'fooplayer.c' and its interface in a file called 'fooplayer.h'. 4. Submit fooplayer.c and fooplayer.h to your Assignment 5 subdirectory under the CSC181 submit directory on the ECF server. 5. Notify the instructor via e-mail (rayo@dgp.toronto.edu) that you have entered the tournament. Submissions (and notifications) must be received by Sunday, December 3 at 12 noon. ----- Rules ----- There are three basic rules: 1. Your Player subclass must work correctly. 2. It must use a reasonable amount of time to move. A full game must take place within 20 minutes on ECF, so you're looking at 10 minutes per player. Since each player can make at most 21 moves, you're looking at an average of less than 30 seconds a move. 3. The convenor of the tournament (the instructor) can make up rules as he sees fit.