kedoska / engine-blackjack

Javascript library to make blackjack engines
GNU General Public License v2.0
33 stars 29 forks source link

Add double options and fix double after split bug #2

Closed gsdriver closed 7 years ago

gsdriver commented 7 years ago

I created some new double options found in different casinos - either double on any two cards, totals of 9 or 10, totals of 9-11, and the original 9-15 that you had. I also fixed an issue with doubling after split; it was allowing double immediately after split (when you only have one card in the hand). Now it waits until there are two cards to allow a double, subject to the doubling rules.

kedoska commented 7 years ago

@gsdriver thanks for this, will add more details in the README.