The ChessAIThon project (2025-1-ES01-KA220-VET-000354329) is co-funded by the European Union. The views and opinions expressed in this publication are those of the author(s) only and do not necessarily reflect those of the European Union or the Spanish Service for the Internationalisation of Education (SEPIE). Neither the European Union nor the National Agency SEPIE can be held responsible for them.
Table of Contents
When humans play chess, we see the board as a grid of squares with pieces on them. We visualize moves, plan strategies, and use our intuition to decide what to do next. But computers don’t "see" or "think" like humans. They need a way to represent the chessboard and pieces in a format they can understand and process quickly. Over the years, programmers have developed clever ways to store and manipulate chess positions, making it possible for computers to play the game efficiently.
Computers need efficient ways to represent a chessboard to play chess effectively, unlike humans who use visual boards and intuition. For maximum internal speed, the Bitboard is paramount. Simpler Board Arrays or Piece-Centric Structures are used for specific tasks like display.
Since bitboards are unreadable, computers rely on standardized external protocols to interface with humans and other software:
For Computer Science students, studying these formats (Bitboards, FEN, PGN) is very interesting. It demonstrates practical high-performance data structures and the design of robust parsing protocols—core skills for developing efficient AI and data systems.
To share large volumes of chess scenarios and moves with community control, formats like CSV or JSON are practical. Using version control systems like Git or platforms such as Kaggle enables collaborative dataset management and easy tracking of changes to these files.
Index:
Share datasets and use it in a Notebook