qWeX23 / BlackJackSEM

this is the thing for SEM Black Jack for class and stuff so yeah welcome
0 stars 0 forks source link

Player Bust when 19? #33

Closed qWeX23 closed 8 years ago

qWeX23 commented 8 years ago

image

i dont understand would anyone mind trouble shooting this if they get a chance?

qWeX23 commented 8 years ago

Dealer will not even try if player is already bust. I appreciate you looking into that for me. I have the tutorial technically working but it won't switch between tutorials and game On Nov 15, 2015 4:59 PM, "PaddyLevitt" notifications@github.com wrote:

I don't know about the player bust part but I fixed the dealer not hitting with 16 or less. I'll look at it here in a few.

On Sunday, November 15, 2015, Ben notifications@github.com wrote:

[image: image] < https://cloud.githubusercontent.com/assets/11063838/11171598/d0464d7e-8bb9-11e5-9b35-f3e9e79892b4.png

i dont understand would anyone mind trouble shooting this if they get a chance?

— Reply to this email directly or view it on GitHub https://github.com/qWeX23/BlackJackSEM/issues/33.

— Reply to this email directly or view it on GitHub https://github.com/qWeX23/BlackJackSEM/issues/33#issuecomment-156867276.

PaddyLevitt commented 8 years ago

Got it!

The following combinations yield as follows:

10 + A = 21 3 + 6 + A + 2 + 2 + 2 + 2 + A = 19 3 + 6 + A + 2 + 2 + 2 + 2 + A + A = 20 3 + 6 + A + 2 + 2 + 2 + 2 + A + A + A= 21 3 + 6 + A = 20 3 + 6 + A + A = 21

Going to commit changes to calculateHandPower method in Hand class and sign off issue #33.

On Sun, Nov 15, 2015 at 5:07 PM, Lee Mills lkm13@students.uwf.edu wrote:

Basically I made the dealer hit below 16 and stay on 17, if the player did not bust. It doesn't matter if the dealer has a better hand when the player stands, he still has to hit on 16 or lower. Maybe that fixed some other issue logs, I don't know. Finishing up ethical hacking lab, then i'll look at the player busts on 19 thing it seems like that second ace is being counted as 11?

On Sun, Nov 15, 2015 at 5:02 PM, Ben notifications@github.com wrote:

Dealer will not even try if player is already bust. I appreciate you looking into that for me. I have the tutorial technically working but it won't switch between tutorials and game On Nov 15, 2015 4:59 PM, "PaddyLevitt" notifications@github.com wrote:

I don't know about the player bust part but I fixed the dealer not hitting with 16 or less. I'll look at it here in a few.

On Sunday, November 15, 2015, Ben notifications@github.com wrote:

[image: image] <

https://cloud.githubusercontent.com/assets/11063838/11171598/d0464d7e-8bb9-11e5-9b35-f3e9e79892b4.png

i dont understand would anyone mind trouble shooting this if they get a chance?

— Reply to this email directly or view it on GitHub https://github.com/qWeX23/BlackJackSEM/issues/33.

— Reply to this email directly or view it on GitHub < https://github.com/qWeX23/BlackJackSEM/issues/33#issuecomment-156867276>.

— Reply to this email directly or view it on GitHub https://github.com/qWeX23/BlackJackSEM/issues/33#issuecomment-156867453 .

qWeX23 commented 8 years ago

Sweet On Nov 15, 2015 7:39 PM, "PaddyLevitt" notifications@github.com wrote:

Closed #33 https://github.com/qWeX23/BlackJackSEM/issues/33.

— Reply to this email directly or view it on GitHub https://github.com/qWeX23/BlackJackSEM/issues/33#event-464955771.