Files

Engines

Filename Description
pyturochamp.py The chess engine with Turing’s heuristics. Plays more human-like, except for weird but typical moves like a2a4 and h2h4.
bare.py Bare bones version of PyTuroChamp, only alpha-beta and piece-square tables are used. Very computer-like and not pretty but sometimes efficient play. Stockfish took 62 moves to checkmate it (with ponder off).
newt.py Like Bare, this engine does not include the Turing heuristics. It adds principal variation (PV)-based iterative deepening and quiescence search like PyTuroChamp and also an opening book, so it will not repeat the same moves in each game.
plan.py The Plankalkül engine
soma.py The Smith One-Move Analyzer single-ply analyzer engine
bernstein.py The Bernstein Chess Program
torres.py El Ajedrecista, an automaton that checkmates Black with a Rook
rmove.py A random mover
pyturochamp_multi.py Multi-core version of PyTuroChamp (is used as the default by ptc_xboard.py on Linux)

Helper scripts

Filename Description
ptc, bare, newt, plan, soma, bern, rmove Shell script to run PTC, Bare, Plan, Newt, SOMA or RMove from a chess GUI, e.g. Cute Chess , KDE Knights or XBoard. (Change the directory path inside first.)
ptc-host.py Hosts a game between PyTuroChamp as White and Bare as Black. Updated board images are written to board.svg. (During play, board.svg should be opened in an image viewer that automatically reloads changed files.)
ptc_xboard.py Combined XBoard and UCI interface module for all engines. Moves will also be logged to a PGN file. Uses pyturochamp_multi.py by default now, but also allows selecting a different engine via a command line parameter (newt, ptc, bare, plan, soma, bern, torres, and rmove).
pst.py Helper file with piece-square tables
ptc_worker.py Helper file for pyturochamp_multi.py

Test scripts

Filename Description
movetest.py Test engine responses to board situations
glennie.py Compare White moves from TUROCHAMP vs. Glennie game to PyTuroChamp’s moves and show differences (uses glennie.pgn)
kasparov.py Compare White moves from ChessBase TUROCHAMP vs. Kasparov game to PyTuroChamp’s moves and show differences (uses kasparov_2012.pgn)
somatest.py Compare White moves from SOMA vs. Machiavelli game to soma.py’s moves and show differences (uses soma-mac.pgn)
berntest.py Compare White moves to the IBM 704 vs Human game (uses bernstein_ibm704.pgn)

In the icons directory, there are several logos in BMP format for various chess engine GUIs which were contributed by Norbert Raimund Leisner.