The following C project contains the C source code and C examples used for a connect 4 engine (with gui). This is a connect-4 playing engine. It's straight forward as it is split up into very simple parts. The Board, MoveGenerator, SearchAgent etc.
The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.
Project Files:
File Name | Size |
---|---|
Board.cpp | 973 |
Board.h | 553 |
Connect4 GUI.dsp | 4631 |
Connect4 GUI.dsw | 549 |
Connect4 GUI.ncb | 66560 |
Connect4 GUI.opt | 55808 |
Connect4 GUI.plg | 1357 |
Driver.cpp | 702 |
Evaluator.cpp | 5907 |
Evaluator.h | 138 |
Move.h | 95 |
MoveGenerator.cpp | 335 |
MoveGenerator.h | 313 |
SearchAgent.cpp | 1585 |
SearchAgent.h | 237 |
winmain.cpp | 3593 |