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

Game ends in Tie even though it aint #7

Open
Jmzahn opened this issue Apr 17, 2019 · 2 comments
Open

Game ends in Tie even though it aint #7

Jmzahn opened this issue Apr 17, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@Jmzahn
Copy link
Collaborator

Jmzahn commented Apr 17, 2019

IOS and Android, to reproduce: play

@Jmzahn Jmzahn added the bug Something isn't working label Apr 17, 2019
@ryan-pratt
Copy link
Owner

This is an intermittent issue, and reloading the app seems to solve it. Not sure what's causing it, but it seems to be coming from the calCardVals functions in Dealer.js and Player.js

@ryan-pratt
Copy link
Owner

I added an alert if the values are calculated as 0 in c30d1b8
This only seems to happen on the Dealer, and not the player. I thought it might be happening when the dealer has two cards of equal value, or something with aces, but I've seen it happen with the following dealer hands:
11c, 12d
6h, 6s, 3d, 3s
12d, 9s
6c, 3d, 2c, 7c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants