I hereby claim:
- I am deedeelavinder on github.
- I am deedee_lavinder (https://keybase.io/deedee_lavinder) on keybase.
- I have a public key ASDK0T9pny06cJija67udUSwNV9Ncy7JccgtFu-GF-Hvtgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
class Player | |
attr_accessor :p_name | |
attr_accessor :p_bet | |
attr_accessor :p_acct | |
def initialize | |
@p_name = p_name | |
@p_bet = p_bet | |
@p_acct = p_acct | |
end |
class ChangeMachineInstructions | |
def intitialize(user_amount) | |
@user_amount = user_amount | |
@dollars | |
@quarters | |
@dimes | |
@nickels | |
@pennies | |
end | |
repeat = nil | |
puts '' | |
puts'' | |
puts "Let's play a game. " .chomp | |
invitation = "I'll choose a number between 1 and 100 and you guess what it is. You'll have five trys." | |
puts invitation | |
puts "" | |
until repeat == "no" |
Create Card Library = ‘Deck’ | |
Define card identities | |
Suits: | |
H = ‘Hearts’ | |
D = ‘Diamonds’ | |
C = ‘Clubs’ | |
S = ‘Spades’ | |
Face cards: | |
j = Jack | |
q = Queen |