Closed Glavin001 closed 10 years ago
If player hits and goes over 21 they bust.
and when they bust ---> stop dealing cards && player lose
-Dealer will have two cards ( One with a folded card and the other unfolded (the player will no know that value of the folded card)) -The dealer will fold the card after the player is done (hitting/standing)
this is for our version 1 in version 2 we will go to more deep details about the game this includes (counting cards , insurance , splitting cards ..etc)
Looks like we have a number of changes to make. No problem, well get this done.
States: 1) Start game:
2) Player's turn:
Can hit
or stand
.
hit
:3) Dealer's turn:
Can hit
or stand
.
If hand.getValue()
is less than 17
then hit
, else stand
.
hit
:player
, as well as beat 17
.Looking good to me! Thanks @DylanYoung and @FaisalAlMazroa !
1) dealer deals two cards to player 2) player either hits or stands if hit: dealer deals another card; repeat If stand: next player.
Repeat 2 for all players