Skip to content

v1.4

Choose a tag to compare

@thewizardplusplus thewizardplusplus released this 12 Jul 23:02
· 189 commits to master since this release

Serialization models to Forsyth–Edwards Notation and refactoring.

Change Log

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.