Move notation to piece and index?

This page summarizes the projects mentioned and recommended in the original post on /r/chessprogramming

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • chesslib

    chess library for legal move generation, FEN/PGN parsing and more

  • If you are talking about algebraic notation. Getting the piece and the destination square is trivial. The origin is more interesting to produce: have a list of pieces (and their position) currently on the board; if there is no disambiguation#Disambiguating_moves), check which of the two can legally move to the target square. How you implement the piece list is also interesting: you can start in a naive manner, but also use a bitboard, like in the decodeSan function in chesslib.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts