Backlinks Graph
Backlinks
Table of Contents

Chess Engine Board Representation

  2026-01-10

  Edited: 2026-05-31

Basics

The board representation is simply how the board is represented. This is split into two main types

Piece Centric

This representation answers the following question: for a given piece, what square is it at?

Chess Engine Bitboards are the preferred choice.

Piecelists and Piecesets are alternative implementations using a list or set to hold the pieces

References

Square Centric

This representations answers the following question: for a given square, what piece is on it?

Mailbox is main way to do this, and simply means a memory location holds some information about the square. The main way is to simply use a large array

References:

Hybrid

While an engine can focus on one representation, it will also use the other representation as well. For example