Auto stash before revert of "Auto stash before rebase of "origin/python""
This commit is contained in:
parent
90d209e7a2
commit
cda48dca80
0
config-example.yaml
Normal file
0
config-example.yaml
Normal file
|
@ -66,15 +66,16 @@ class BlunderEvaluator:
|
||||||
self.wdls.append(self.current_wdl)
|
self.wdls.append(self.current_wdl)
|
||||||
print(self.current_wdl)
|
print(self.current_wdl)
|
||||||
print(self.current_evaluation)
|
print(self.current_evaluation)
|
||||||
|
print(self.get_board())
|
||||||
if self.move_was_blunder():
|
if self.move_was_blunder():
|
||||||
# If the played move was a blunder play a random sound from the blunder
|
# If the played move was a blunder play a random sound from the blunder
|
||||||
# path
|
# path
|
||||||
self.play_sound("blunder")
|
self.play_sound("blunder")
|
||||||
print("Blunder!")
|
print("Blunder!")
|
||||||
if self.white_to_move:
|
if self.white_to_move:
|
||||||
self.white_to_move = False
|
self.white_to_move = False
|
||||||
elif not self.white_to_move:
|
elif not self.white_to_move:
|
||||||
self.white_to_move = True
|
self.white_to_move = True
|
||||||
else:
|
else:
|
||||||
print("Invalid move")
|
print("Invalid move")
|
||||||
self.play_sound("illegal")
|
self.play_sound("illegal")
|
||||||
|
|
0
src/blunderboard/commentator.py
Normal file
0
src/blunderboard/commentator.py
Normal file
0
src/blunderboard/config.py
Normal file
0
src/blunderboard/config.py
Normal file
Loading…
Reference in a new issue