-
Notifications
You must be signed in to change notification settings - Fork 39
Chess board representation
HeavyPanda edited this page May 11, 2016
·
15 revisions
In order to implement a chess game it is important to decide in what structure the board should be saved. This structure needs to address some requirements
- the state need to save all information to reconstruct the current state of the game
- it should be easy to determine if an move is invalid e.g. move outside of the board
- moving figures based on their move pattern should be easy to do
- the board should be saved memory efficient
The 0x88 board representation is described in : http://web.archive.org/web/20070909095550/http://www.seanet.com/~brucemo/topics/0x88.htm