MCPcopy Create free account
hub / github.com/ActiveState/code / debug

Function debug

recipes/Python/580723_TicTacToe_text_based/recipe-580723.py:442–444  ·  view source on GitHub ↗
(debugObject,statement)

Source from the content-addressed store, hash-verified

440 return turnList[currentIndex+1]
441
442def debug(debugObject,statement):
443 if debugObject.active:
444 print(statement)
445
446#===========GAME FUNCTIONS=============#
447

Callers 5

counterMethod · 0.70
trapSimulationMethod · 0.70
offensiveStrategyMethod · 0.70
defensiveStrategyMethod · 0.70
thinkMethod · 0.70

Calls 1

printFunction · 0.85

Tested by

no test coverage detected