Skip to content

slavfox/selfmate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Selfmate finder

Running:

$ cargo run --release path/to/pgn/files/ > selfmates.pgn

This will find all selfmates in all PGN files in the given directory and save the PGN of the matching games to selfmates.pgn.

A sample of 19 selfmates from games played by players 2400+ is included in selfmates.pgn.

License

The source code is distributed under the terms of the WTFPLv2 license, the full text of which is included below:

           DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
                   Version 2, December 2004
 
Copyright (C) 2004 Sam Hocevar <[email protected]>

Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
 
           DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
  TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

 0. You just DO WHAT THE FUCK YOU WANT TO.

The example games in selfmates.pgn come from the Lichess Elite Database, which itself is a subset of the lichess.org open database, made available under the terms of the Creative Commons CC0 license.

About

Find selfmates in PGN chess games

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages