Closed jtaavola closed 1 year ago
since Board maintains selectedSpaces for the win logic, Board might as well manage when each space is selected or not. This will help 'reset' the board.
Board
selectedSpaces
selected
Space
This helps with #15
since
Board
maintainsselectedSpaces
for the win logic,Board
might as well manage when each space is selected or not. This will help 'reset' the board.selected
prop on theSpace
component