BlackJack
Here is a screen shots from my the code of the BlackJack game. To create the game I wrote the coding in c++ using Visual Studio 2015.
The first screenshot shows the code, that will be printed out for the user, shows the rules and instructions for the game. It also shows the rules for betting and the wiinigs that you would get. At the bottom of the first scrrenshot it shows the code for the dealing of the players first two cards. It refers to the the code that appears later in the work to randomly generate the card value. This can be seen in the third screenshot.

The second screenshot shows the if statements i have used to work out if the player has the required amount or not. The if statemnet will look at whether the players card totlas have reached 21 or not. If they have then they will win the game, if not they will have more cards drawn. Depending on the result of the cards total it will look further down the program and produce the relevenat message, either you win or you lose.

The third scrrenshot shows the void functions I have used to create the dealing of the cards. the fucntion works by randomly generating a number from from 1 to 11 and then that number will be displayed as the cards value.
