Skip to content

Commit d3e35e7

Browse files
committed
update 54 files
1 parent 54fe477 commit d3e35e7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

MiniMax/source.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ def reset(self):
1111

1212
# turn this into calc_score function coz in 'NycharanXOGame' winner gets the more score than other player
1313

14-
def check_winner(self):
14+
def calc_score(self):
15+
pass
16+
17+
def check_xo(self):
1518
for i in range(self.game_dim):
1619
if all(self.game_space[i][j] == self.game_space[i][0] for j in range(1,self.game_dim)) and self.game_space[i][0] != None:
1720
return self.game_space[i][0]

0 commit comments

Comments
 (0)