Skip to content

v1.6

Choose a tag to compare

@thewizardplusplus thewizardplusplus released this 01 Nov 19:43
· 121 commits to master since this release

Working with Forsyth–Edwards Notation for positions and moves, extending moves checkings and refactoring.

Change Log

  • Forsyth–Edwards Notation:
    • parsing:
      • of a position;
      • of a move;
    • serialization:
      • of a position;
      • of a move;
  • extending universal moves checkings;
  • 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 position;
      • of a move;
      • of a piece kind;
      • of a piece color;
      • of a board;
    • serialization:
      • of a position;
      • of a move;
      • of a piece kind;
      • of a piece color;
      • of a board.