Update the moves list in Board.h to a tree structure to store different game paths.
Details
Currently, the moves list in Board.h is implemented as a simple list. This structure only allows for a single sequence of moves. To support multiple game paths and variations, we need to change this list to a tree structure.
Summary
Update the
moves
list inBoard.h
to a tree structure to store different game paths.Details
Currently, the
moves
list inBoard.h
is implemented as a simple list. This structure only allows for a single sequence of moves. To support multiple game paths and variations, we need to change this list to a tree structure.