MCPcopy Create free account
hub / github.com/bslatkin/effectivepython / GameState

Class GameState

example_code/item_107.py:51–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49
50print("Example 1")
51class GameState:
52 def __init__(self):
53 self.level = 0
54 self.lives = 4
55
56
57print("Example 2")

Callers 2

item_107.pyFile · 0.85
unpickle_game_stateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected