Worst Bot v3
Back to bot348 bytes · sha256 07b9861017bff857eab… · public
def get_move(board, time_left_ms):
moves = board.ordered_moves()
worstMove = board.ordered_moves()[0]
worstScore = 1000000
for move in moves:
board.push(move)
if worstScore > -board.evaluate():
worstMove = move
worstScore = -board.evaluate()
board.pop()
return worstMove