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

Cards dealing wrong #68

Open
bezenson opened this issue Sep 9, 2021 · 0 comments
Open

Cards dealing wrong #68

bezenson opened this issue Sep 9, 2021 · 0 comments

Comments

@bezenson
Copy link

bezenson commented Sep 9, 2021

In blackjack 1st card goes to player, 2nd to dealer, 3rd to player, 4th to dealer, but in engine it took 2 cards from end to player and 2 to dealer.

  1. Mock cards:
    game.setState({
      deck: serializeCards('2h 3h 4h 5h 6h 7h 8h 9h 10h 11h 12h 13h'),
    });
  1. Deal

Expected: Player / Dealer - 13h 11h / 12h 10h

Actual: Player / Dealer - 13h 12h / 11h 10h

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

No branches or pull requests

1 participant