This and the following pages give an overview of how Rival plays chess. Specific code details are not discussed yet but the source code is available for download.
Rival for Windows is written and compiled using Borland C++ 4.52 although all the dialog boxes are generated with the Visual Studio resource editor owing to a problem with Borland's resource generation for Windows 95/98 style dialog boxes. This problem may have been resolved in Borland C++ 5.0 but I have never used that product.
If you try to compile the code using the Borland compiler you may get a compiler error for
the if statement in the function