v1.4
·
189 commits
to master
since this release
Serialization models to Forsyth–Edwards Notation and refactoring.
Change Log
- serialization to Forsyth–Edwards Notation:
- of a piece kind;
- of a piece color;
- of a board;
- refactoring.
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;
- Forsyth–Edwards Notation:
- parsing:
- of a piece kind;
- of a piece color;
- of a board;
- serialization:
- of a piece kind;
- of a piece color;
- of a board.
- parsing: