Ruby Blackjack (Part 2)

unnamed.png
Today has been a long day, and I am still not done with my blackjack. So I made the goal to at least make progress, so that tomorrow I can finish out the remaining steps.

I took Jesse’s advice, and went ahead and completed the UI questions. Such as, Do you want to hit or stay? So they are ready when I get there.

I also started scripting out psuedo-code for how I plan to set up the conditional statements that will trigger the string interpolated responses.

Whew!

But as far as actual code that works and does something… today, this is what I got:

deal_cards = deck.shift

dealer_hand = deal_cards.value + deal_cards.value

player_hand = deal_cards.value + deal_cards.value

p dealer_hand

p player_hand

I know that it don’t seem like much, but trust me. It took me hours (and research) to get here. And I am still not quite getting what I want.

I am hoping that getting a much needed good night sleep and some decent amount of food will get me a rockstar day tomorrow. I need it!

 
1
Kudos
 
1
Kudos

Now read this

Why I Am Growing To Hate Middleman

Ok…so there is this app that allows you to create static sites. Awesome! But in the last few days, I have been growing to hate it. Its a great help when it comes to launching a website, which I can barely do. But for me–it has also... Continue →