Coder Social home page Coder Social logo

fsmosca / chess-chiller Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 4.0 1.97 MB

Read pgn files, parse positions in the game and save interesting positions for problem-solving sessions.

License: GNU General Public License v3.0

Python 99.56% Batchfile 0.44%
chess chess-engine chess-puzzle python-chess

chess-chiller's People

Contributors

fsmosca avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

chess-chiller's Issues

suggest command option output position before blunder

game
[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "1/2-1/2"]
[PlyCount "7"]

e4 e5 2. Bc4 Bc5 3. Qh5 d6 4. Qd1 1/2-1/2

output
[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "1-0"]
[SetUp "1"]
[FEN "rnbqk1nr/pppp1ppp/8/2b1p2Q/2B1P3/8/PPPP1PPP/RNB1K1NR b KQkq - 0 3"]
[PlyCount "2"]

3... d6 4. Qxf7# 1-0

command line option output pv with blunder

suggest option with --save-last-move maybe --save-pv-line, default false, like

game
[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[PlyCount "4"]

  1. e4 e5 2. Ba6 Nf6 *

save-last-move/save-pv-line true output blunder and pv/score from engine

[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[SetUp "1"]
[FEN "rnbqkbnr/pppp1ppp/B7/4p3/4P3/8/PPPP1PPP/RNBQK1NR b KQkq - 0 2"]
[PlyCount "17"]

  1. Ba6 Nxa6 3. Nc3 Bc5 4. d3 d6 5. Nf3 Nf6 6. h3 Bd7 7. O-O h6 8. a3 O-O 9.
    b4 Bb6 10. Bd2 Qe7 {-3.56/16} *

save-last-move true, save-pv-line false like now

[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[SetUp "1"]
[FEN "rnbqkbnr/pppp1ppp/B7/4p3/4P3/8/PPPP1PPP/RNBQK1NR b KQkq - 0 2"]
[PlyCount "17"]

  1. Ba6 Nxa6 *

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.