Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
reset
Method · 0.95
Calls
1
checker_board
Class · 0.85
Tested by
no test coverage detected