23 November 2012
For my C++ class, we had to make a framework for a few 2 player games. My design basically turned out to be an interface class that is overridden by a child class that describes the various states and choices of a game and how to get from state to state by each choice. This quickly turned into a brute force solver which all you need to do is specify which state is a “good” state. A lot of hours were put into this, but it was well worth it! If anyone is interested, I have included the header file for the class.