Skip to content

v1.5

Choose a tag to compare

@thewizardplusplus thewizardplusplus released this 22 Aug 20:39
· 159 commits to master since this release

Extracting working with Forsyth–Edwards Notation to the separate package 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.