We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54fe477 commit d3e35e7Copy full SHA for d3e35e7
MiniMax/source.py
@@ -11,7 +11,10 @@ def reset(self):
11
12
# turn this into calc_score function coz in 'NycharanXOGame' winner gets the more score than other player
13
14
- def check_winner(self):
+ def calc_score(self):
15
+ pass
16
+
17
+ def check_xo(self):
18
for i in range(self.game_dim):
19
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:
20
return self.game_space[i][0]
0 commit comments