Skip to content

Count of Aces is wrong when total=21 #379

Description

@cchaize

if (tot + 10) <= 21:

Should be :
if (tot + 9) <= 21:

because 1pt has already been added in tot for aces.

Example:
I have already 11pts without ace and I hit an Ace.
tot must get 10 pts (1 + 9) and not 11 (1+10)

Here is the example I got during a simulation
image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions