kedoska / engine-blackjack

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

showdown when player busted on both sides #16

Closed kedoska closed 7 years ago

kedoska commented 7 years ago

Test

const cards = '♠10 ♦10 ♠10 ♦10 ♥2 ♣2 ♠9 ♦9'
const actions = ['restore', 'deal', 'split', 'hitR', 'hitR', 'hitL', 'hitL']

It was failing, stage was still DEALER_TURN Signed-off-by: Marco Casula mc@clickbit.net