MCPcopy Create free account
hub / github.com/geekcomputers/Python / _init

Method _init

Checker_game_by_dz/modules/checker.py:23–27  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

21 pg.display.update()
22
23 def _init(self):
24 self.select = None
25 self.board = checker_board()
26 self.turn = black
27 self.valid_moves = {}
28
29 # to reset the position
30 def reset(self):

Callers 2

__init__Method · 0.95
resetMethod · 0.95

Calls 1

checker_boardClass · 0.85

Tested by

no test coverage detected