I tried my best to create Blackjack, but it is not working.
I uploaded the .capx for you.
- he does not deal the cards, only sometimes on heavy button spamming with left and right click
- when he deals the cards, the cards are all the same
- I need a better method on placing the cards in the appropriate place.
- I need a method to detect the value of the Player and Dealer hand and compare them to set winning conditions
When the player clicks on "New hand" he gets 2 cards, then the dealer gets 1 card and 1 card upside down. When the player decides to stand, the upside down card should be turned into a random card as well.
Depending on how many times the player/dealer hits (takes another card) I need to place the card in a appropriate place. I think I need about 6 to 8 card slots for the Player and the Dealer (each), but in the case the player is able to hit more often, the cards should be placed correct too.
I would really appreciate it, if you could help me to fix the problems.