Skip to content

Commit 502f252

Browse files
Player has seen the dealers up card not down card
1 parent 8bfa1e5 commit 502f252

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

expected_value.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ def expected_value(action_class: action_strategies.BaseMover, betting_class: bet
410410
dealer_down_card = get_card_from_shoe(shoe)
411411
player_cards = [get_card_from_shoe(shoe), get_card_from_shoe(shoe)]
412412

413-
cards_seen.extend([dealer_down_card] + player_cards)
413+
cards_seen.extend([dealer_up_card] + player_cards)
414414

415415
reward = simulate_hand(action_class, player_cards, dealer_up_card,
416416
dealer_down_card, shoe, 3, deck_number,

0 commit comments

Comments
 (0)