MasterAI-2.0-1vs1-NoLimit
MasterAI-2.0-1vs1-NoLimit copied to clipboard
hand_eval
Maybe I am missing something, but it seems to be a bug
hole_cards_1 = [Card.str2card("2♦"), Card.str2card("4♣")]
hole_cards_2 = [Card.str2card("5♠"), Card.str2card("T♣")]
board = [
Card.str2card("3♦"),
Card.str2card("6♦"),
Card.str2card("T♦"),
Card.str2card("J♦"),
Card.str2card("A♦"),
]
player_1_hand = HandEvaluator.eval_hand(hole_cards_1, board)
player_2_hand = HandEvaluator.eval_hand(hole_cards_2, board)
print(player_1_hand) // 1105986
print(player_2_hand) // 1106085
The board plays and the ranks should be equal
