You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that I need to manually keep game and board objects synchronized, which seems odd.
Why can't I pass a game object to the board constructor, and have the board always display the progress of the game, for example? If I want to "undo" a move, I can't just pop a position from the game and have the board update - I need to somehow track or recover what the most recent move is, and update both in sync.