chstan / Chess-Engine

A weak C language chess engine
5 stars 1 forks source link

Chess Engine

This is a smallish chess engine written purely for fun over the past few years. It is by no means bug free at the moment but can hold a chess via command line or through any UCI compatible chess board.

Installation

cd src && make

At the moment I can only guarantee that this will work on OS X, but almost all of the engine is compatible with UNIX like systems more generally and will compile via gcc with just a few changes.

Those interested are unlikely to be able to compile on Windows at the moment due to reliance on POSIX threads. Documentation can also be generated via Doxygen in the root directory.

Running

Once installed, the engine can be run simply by executing it as an executable at the command line. Typing help at the resultant prompt will give a list of commands and a description of their usage.

Alternatively, running with --uci as a first parameter and the location of a file to log to as the second will start the engine in UCI mode, useful for configuration with a chess board GUI.

Contributing

Patches and pull requests are welcome, particularly any addressing the platform compatibility issues mentioned above, which should be relatively easy to fix but are difficult for me to test and anticipate.