MCPcopy Create free account
hub / github.com/asweigart/PythonStdioGames / runSimulation

Method runSimulation

src/gamesbyexample/zombiebitefight.py:146–151  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

144 print('', flush=True)
145
146 def runSimulation(self):
147 try:
148 while True:
149 self.runSimulationStep()
150 except KeyboardInterrupt:
151 sys.exit()
152
153
154 def runSimulationStep(self):

Callers 1

zombiebitefight.pyFile · 0.80

Calls 1

runSimulationStepMethod · 0.95

Tested by

no test coverage detected