⭐ Big "fix"
This commit is contained in:
@ -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
|
||||||
|
|
||||||
|
"""
|
||||||
|
Reference in New Issue
Block a user