else: | else: | ||||
self.printScreen() | self.printScreen() | ||||
def resetMap(self): | |||||
""" Resets the map to its initial state, allowing the user to experiment | |||||
with death/birth limits and number of repetitions on a single map. | |||||
""" | |||||
self.genmap = self.initial | |||||
def createMap(self): | def createMap(self): | ||||
""" Initializes an x by y grid. | """ Initializes an x by y grid. | ||||
x is width, y is height | x is width, y is height |