v1.3
·
205 commits
to master
since this release
Parsing models from Forsyth–Edwards Notation and improving moves checking.
Change Log
- parsing from Forsyth–Edwards Notation:
- of a piece kind;
- of a piece color;
- of a board;
- checking for king capture (including during moves generating);
- fixing the bug with checking bishop moves.
Features
- representing the board as an associative array of pieces with their positions as keys;
- immutable applicating moves to the board via copying the latter;
- checkings of moves:
- universal;
- individual for all types of pieces;
- generating moves via filtering from all possible ones;
- using an abstraction of a piece;
- parsing from Forsyth–Edwards Notation:
- of a piece kind;
- of a piece color;
- of a board.