Blackjack Ruby Code

broken image
Blackjack

I created this Blackjack program as a first attempt at Ruby. Would appreciate a code review to see if I am doing things the Ruby way (is there a better way to get user input?), using OOP correctly and anything else you want to point out. I am building a command line ruby blackjack game using methods. I have gotten to the point where the player can hit or stick (after having being dealt 2 cards). Right now I can't seem to make the jump to thinking logically about how to limit my player to only four hits.

Skip to main content
Blackjack
Ruby
Ruby

I created this Blackjack program as a first attempt at Ruby. Would appreciate a code review to see if I am doing things the Ruby way (is there a better way to get user input?), using OOP correctly and anything else you want to point out. I am building a command line ruby blackjack game using methods. I have gotten to the point where the player can hit or stick (after having being dealt 2 cards). Right now I can't seem to make the jump to thinking logically about how to limit my player to only four hits.

Skip to main content

Premium Rubberized Fibered Coating

Black Jack® Rubr-Coat #57 is a premium rubberized coating for waterproofing roofs & foundations. This liquid applied asphalt coating has a blend of rubber and reinforcing fibers to provide a strong, flexible, waterproof seal. Rubr-Coat has exceptional adhesion to existing roofing, masonry surfaces, wood, foam board insulation and metal surfaces. The addition of rubber enhances performance by improving crack resistance, life expectancy and adds increased waterproofing protection. Product is black in color. As a Roof Coating, this product seals worn out roof surfaces and provides a tough flexible waterproof seal. As a Foundation Coating, this product seals masonry, foam board insulation, wood and metal surfaces to protect, preserve and damp-proof, below grade surfaces. This multi-use product forms a tough rubberized seal for lasting protection on a variety of surfaces. Rubr-Coat may be used to adhere foam board insulation to masonry surfaces. When used to coat the exterior surface this product will act as a protective coating for the foam board.

>Find Nearest store

resources & useful info

PROGRAMS (assume ruby's in /usr/bin/ruby) - bj.rb: play BlackJack bj.rb -help: get Usage information tsbj.rb: run the test suite (this runs all the test cases) tc.rb run an individual test case This project was based on the following specs from jeremy at rapleaf dot com: Implement a simple game of blackjack. Ruby code for Blackjack game. Running Guidance Linux. First, put the whole folder under your directory; second, cd blackjack; third, chmod 775 Blackjack.rb; fourth, ruby Blackjack.rb; (or./Blackjack.rb) last, follow the command guides on screen, and interact with the game; Windows.

  • SAFETY DATA SHEET
  • technical data SHEET
  • Coverage Calculator

Aol Blackjack Codes

why you will love it

  • Flexes to resist cracking

  • Rubberized for superior waterproofing and adhesion

  • Lasts twice as long as standard coatings

  • Low odor, water cleanup

Blackjack Ruby Codes

SQUARE FOOTAGE:

House Of Blackjack Codes

Cookie Consent by TermsFeed



broken image