Chessnut
Chessnut copied to clipboard
Python chess model
A move for a pawn going on the last line is a promotion : departure, arrival, promotion piece. This special move format make the "in check" test fails when comparing...
It would be nice if we could input the moves using the short algebraic notation that is standard in the pgn format, e.g., e4 e5 Nf3, in addition to the...
using : find . -name '*.py' | xargs 2to3 -w
Add a San class to parse and store the internals of a short algebraic move. Add san_to_long method to Game to convert the san move to the long version. Add...
I can write extensions