Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blackjack game: fix bug counting more than one ace #374

Merged
merged 1 commit into from
Mar 5, 2023

Conversation

403-Fruit
Copy link
Contributor

Take into account how many aces there are before using 11 as the value for an ace. (Fixes #373)

Take into account how many aces there are before using 11 as the value for an ace
@403-Fruit 403-Fruit requested a review from xMasterX as a code owner March 5, 2023 05:48
Copy link
Member

@xMasterX xMasterX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@xMasterX xMasterX merged commit 2f567f3 into DarkFlippers:dev Mar 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Blackjack game: Hand score calculation doesn't properly handle more than one ace
2 participants