Big "fix"

This commit is contained in:
jona605a
2020-08-04 20:29:13 +02:00
parent 819601c0a8
commit 28a5e55ab2

View File

@ -183,7 +183,7 @@ def placeOnHexBoard(board,player,position):
else: else:
logThis("Cannot place on existing piece (error code 1532)") logThis("Cannot place on existing piece (error code 1532)")
return "Error. You must place on an empty space." return "Error. You must place on an empty space."
"""
# Checks if someone has won the game and returns the winner # Checks if someone has won the game and returns the winner
def isHexWon(board): def isHexWon(board):
won = 0 won = 0
@ -363,3 +363,4 @@ def minimaxHex(board, depth, player , originalPlayer, alpha, beta, maximizingPla
break break
return value return value
"""