suragnair / alpha-zero-general

A clean implementation based on AlphaZero for any game in any framework + tutorial + Othello/Gobang/TicTacToe/Connect4 and more
MIT License
3.74k stars 1.01k forks source link

Nit: Chess requires more than the state of the board. #314

Open BasedLukas opened 5 months ago

BasedLukas commented 5 months ago

From your excellent writeup (thank you!):

History of State: Since Go is not completely observable from the current state of the board, the neural network also takes as input the boards from the last 7 time steps. This is a feature of the game itself, and other games such as Chess and Othello would only require the current board as input.

This is not strictly speaking true, as chess also requires knowledge of the previous states of the board, to determine for example if castling is permitted, or if you may capture en passant amongst others.