I am working on a card game very similar to blackjack, except you can manipulate your own cards and even try to bluff the dealer not revealing your cards. When you achieve the objective you can either hide or show your “blackjack” in this case another amount, but you won’t gain the same award. eg: if you reveal the “blackjack” you win double amount + you get to be the dealer and if you don’t you simply win the bet amount, but eventhough my traces show my handValue is correct and my card not being revealed as well in the same frame where I have the show “blackjack”, I can’t run this code:
blackjack_btn.onPress = function() {
if ((playerValue == 7.5) && (notShown[0])) {
show(0);
checkBlackjack();
dealerDeal();
}
};
I will attach the fla if someone offers to lend me a hand.