Skip to content

Wrong Point Calculation when Multiple Aces are Present #2

@StephDC

Description

@StephDC

When one has more than one Aces, it seemed all Aces were counted as 1. This make the hand 4 A A 5 only worth 11 instead of 21 pts.

The culprit is probably that when hand value >21 your script loop through every card with value == 11 and reduce to 1. Stop the loop when the first is found and reduced, and recalculate from start may fix the problem at a cost of efficiency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions