Faculty of Applied Science and Engineering, University of Toronto
CSC181: Introduction to Computer Programming

Assignment 4: Connect Four, Part I

Due: Monday, 20 November by the start of tutorial

Announcements are available on the course Web site. It is your responsibility to keep up-to-date on these announcements.

Introduction

The purpose of this assignment is to give you practice doing the following things:

This assignment will also prepare you for the next assignment, for which you will implement your design and test your implementation.

Connect Four

The game of Connect Four is played between two players, Red and Black, who each have a set of playing pieces they can place on a grid with 7 columns and 6 rows of squares. It is governed by the following rules:

Your Tasks

Over the next two assignments, you will design, implement and test a program for playing Connect Four, and in doing so, address:

For A4, in particular, you will write a report documenting your design and testing strategy for your Connect Four program. In doing this, you should:

The base requirements, additional enhancements and marking scheme are described below.

Base Requirements

The following base requirements qualify you for a percentage of the available marks:

Additional Enhancements

You may address any combination of the following enhancements, each to qualify for a fixed percentage of additional marks:

If you think of an additional enhancement you would like to pursue, please e-mail rayo@dgp.toronto.edu to obtain the instructor's approval.

Marking Scheme

Content will count for 75% of the mark, with the remaining 25% allocated to style, grammar and spelling.

You should aim for as readable a document as possible; the more readable your document is, the better the marker can understand the content. To achieve this:

In short, use writing and formatting techniques to enhance readability.

You may do this assignment alone or in pairs, and will be evaluated accordingly:

In any case, clearly identify which requirements and enhancements you are addressing.

Above all, keep it simple.

What to Submit

Bind your report with a staple, place it in a 9" x 12" envelope with a completed assignment cover sheet (a blank one will be posted on the Web) taped to the front of the envelope, and give it to your tutorial leader. Do not seal the envelope.

What's Next

For A5, you will implement and test the modules you designed in A4. More details to follow.


Last updated on 2000-11-07 by Ray Ortigas.