Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/geekcomputers/Python
/ winner
Method
winner
Checker_game_by_dz/modules/checker_board.py:101–106 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
99
self.white_l -= 1
100
101
def
winner(self):
102
if
self.black_l <= 0:
103
return
white
104
elif
self.white_l <= 0:
105
return
black
106
return
None
107
108
# Traversal Left
109
def
_traverse_l(self, start, stop, step, color, l, skip=[]):
Callers
1
first.py
File · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected