Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

moustique-cecp

Simple chess engine using CECP (also known as XBoard or WinBoard) protocol

View on Codeberg

Member rating

No ratings yet.

Sign in to rate this project.

README

Moustique CECP

Description

Very simple chess engine using CECP (also known as XBoard or WinBoard) protocol.

Origins

The core of the engine is a didactic Turbo Pascal program by Jürgen Schlottke.

The CECP interface is an adaptation of the WinBoard protocol driver example by Harm Geert Muller.

Build

pascal
make

The log file moustique.log is written only by a debug build (make DEBUG=1).

Test

pascal
make test

This builds and runs two programs. test/perft counts the nodes of the move tree for six standard test positions, and compares them with the published values. test/selfplay plays self-play games with random moves mixed in, and checks that every engine move is legal and that every announced game end is correct. It accepts two optional arguments: the number of games and the random seed.

Logo