⭐ Big "fix"
This commit is contained in:
@ -183,7 +183,7 @@ def placeOnHexBoard(board,player,position):
|
||||
else:
|
||||
logThis("Cannot place on existing piece (error code 1532)")
|
||||
return "Error. You must place on an empty space."
|
||||
|
||||
"""
|
||||
# Checks if someone has won the game and returns the winner
|
||||
def isHexWon(board):
|
||||
won = 0
|
||||
@ -363,3 +363,4 @@ def minimaxHex(board, depth, player , originalPlayer, alpha, beta, maximizingPla
|
||||
break
|
||||
return value
|
||||
|
||||
"""
|
||||
|
Reference in New Issue
Block a user