mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-22 23:26:40 -08:00
Update tower.py
easier debugging with fewer disks
This commit is contained in:
@@ -60,7 +60,10 @@ GOOD LUCK!
|
||||
|
||||
class Game:
|
||||
def __init__(self):
|
||||
self.__sizes = [3, 5, 7] # ,9,11,13,15]
|
||||
# use fewer sizes to make debugging easier
|
||||
# self.__sizes = [3, 5, 7] # ,9,11,13,15]
|
||||
self.__sizes = [3, 5, 7, 9, 11, 13, 15]
|
||||
|
||||
self.__sizes.sort()
|
||||
|
||||
self.__towers = []
|
||||
|
||||
Reference in New Issue
Block a user