Skip to content
/ reti Public

A collection of cql scripts for endgame studies in pgn files.

Notifications You must be signed in to change notification settings

elma16/reti

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 

Repository files navigation

reti

A collection of cql scripts for endgame studies in pgn files.

Introduction

In Müller and Lamprecht's celebrated work "Fundamental Chess Endgames", they show a table on page 11 (this is from the Amazon website free sample of the book). In it, they mention the use of Mega Database 2001, a proprietary database by Chessbase. Obtaining a copy of this to reproduce their table would be ~£100. It's now 2022, and open source chess has come a long way, and now it is trivial to obtain databases 100 times larger than this, completely for free. Namely, Lichess has an open source database of games played on their website. The final piece of the puzzle is finding a way to obtain the required values. For this I used Gady Costeff's CQL : Chess Query Language. The result is a collection of scripts which can be run to analyse how often an ending occurs.

But wait, there's more!

This analysis is not limited to just some big database, this can be done on any pgn file you have available to you!

Installation

To install, simply clone the repository

gh repo clone elma16/reti

you will also need cql.

Usage

source FCE-table.sh path/to/cql/executable path/to/database.pgn path/to/output/folder halfmoves

About

A collection of cql scripts for endgame studies in pgn files.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published