Blackjack

This project objective is to create a simple card game using a card index array and randomization.

On the left is an example of a simple card game. When the player presses the deal button, both players receives two cards at random. I based the code on a card game example given in class.

On the right is an example of a more advanced version of Blackjack. The player presses the deal button, and after the player and dealer receive two cards, the player has the option of pressing the Hit Me button for another card. If the player presses the Stay button, the game ends and a message tells whether the player or dealer won. I based most of this code on a Lynda.com tutorial on how to create a Blackjack card game. I modified some of the code and created unique playing cards that are not typical nor or they from the tutorial.