gulley / Monte-Carlo-Games

Strategy-free robot board games.
BSD 3-Clause "New" or "Revised" License
1 stars 2 forks source link

Show potential move grid #9

Open gulley opened 10 years ago

gulley commented 10 years ago

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.

gulley commented 10 years ago

After talking to Joe, add this as a method for the game class. It's essentially showBoard with an extra argument.