Well, it's been a whirl-wind week for me and my little tic-tac-toe app. This week saw many improvements. Here's the full feature list as it now stands:
* already supported, except that it was more difficult to support an unbeatable AI with 4x4 boards...
Here's a little demo of the GUI in action:
Supporting 4x4 grids required a major overhaul of the core code and I'm really happy with the result.
I'm only moderately pleased with the GUI code. I guess it wasn't bad for my first real forray into GUI programming with quil, but hardly any of it is covered by automated tests. The state
data structure has so much stuff on it, even for this tiny app. The real decision-making happens in the various update functions, which I could cover with tests--there's just a lot of initial state to setup to make that happen. Stay tuned...
-Michael Whatcott