Storing a move history makes draw by repetition and the 50-move rule possible to enforce. Also by querying the engine in this way, it will know not to draw by repeating itself. Besides those immediate benefits, this change would also increase the flexibility of the code in general.
Storing a move history makes draw by repetition and the 50-move rule possible to enforce. Also by querying the engine in this way, it will know not to draw by repeating itself. Besides those immediate benefits, this change would also increase the flexibility of the code in general.