KC CHESS: Kevin & Craig's Chess Program
Here is the program that my friend Kevin Phillips and I wrote for our
undergraduate final project at the University of New Brunswick in 1990.
About the order of the names: the program is named "K.C." because that
sounds better; the program displays my name first because I did more work
on that, and the report displays Kevin's name first because he did more
work on that and on the presentation.
The program was written in Turbo Pascal for MS-DOS Computers with 640K
of RAM and VGA graphics.
BTW, the lowercase "k" specifying the file sizes means "metric"
kilobytes. :-)
Project Report
Here is the final report about the project. The surprising thing is that
parts of it are actually interesting.
Other Documentation
Here is the other external documentation for the program:
- readme.txt
-- brief description of the files, hardware requirements, etc. (3k)
- helptext.txt
-- the online help offered by the program (20k)
- pieces.txt
-- not documentation per se, but the graphic images of the
pieces (22k)
Source Code
Here is the TurboPascal source code for our program. It is broken down into
a number of modules; "chess.pas" is the main module.
- chess.pas
-- main module (8k)
- misc.pas
-- miscellaneous functions (7k)
- init.pas
-- initialization of global variables (5k)
- display.pas
-- display-oriented routines (29k)
- input.pas
-- keyboard input routines (6k)
- moves.pas
-- move generation and making routines (26k)
- setup.pas
-- default board and custom setup routines (13k)
- play.pas
-- computer thinking and player input routines (35k)
- menu.pas
-- main-menu routines (27k)
MS-DOS Distribution
Here is the PKZip file for the full distribution of our chess program,
including the source code. The PKZip file is here in binary format.
- kcchess.zip -- the complete distribution,
PKZIPped (116k)
[Go to my homepage]
[Send me mail]