Adding Hanoi games
Description of Proposed Change/Addition
Add Hanoi-type games to the program. Go with versions of minimum 4 cards, and maximum something reasonable.
Scope of Change/Addition
- Create the game within a hanoi.py module inside the source/games package
- Try and limit changes to just the hanoi.py module. If the changes need additional changes higher up be sure that those changes are necessary. If you're not sure just ask
- Make a note if changes need to be made to the controller (especially event handling) because that's still undergoing significant changes
Ideas for Implementation
- Be sure to subclass CardGame in model/gamelayout - that is your base specification of the public methods to implement and what their functionality is expected to be
- Write a solver for it if you can - it's a fairly common puzzle that's been used as an example in I think a couple of our courses so far
- Follow coding style and be sure to add comments to any obscure code. When module(s) are ready be sure to add docstrings
- Use relative imports