I would like to show the value of the potential moves graphically on top of the game board. But there is a problem. The potential move information is gathered outside the game object, and so it has no knowledge of how to display itself on the board. The showBoard method lives inside the class, and so it has no knowledge of the potential move information.
I would like to show the value of the potential moves graphically on top of the game board. But there is a problem. The potential move information is gathered outside the game object, and so it has no knowledge of how to display itself on the board. The showBoard method lives inside the class, and so it has no knowledge of the potential move information.