If,else,elsif


#1

Hey i was wriing this code

print "Wanna play a game?"
game = 3.gets.chomp
game2 = 2.gets.chomp
if game true
print "Alright let's begin shall we?"
elsif game2 true
print "You dont want to?"
else
print "Well just get out of here then"
end

and i wanna know what's wrong with it, I'm getting this error Wanna play a game?undefined local variable or method `yes' for #


#2

Are you on 14? Don't we have to be using either numbers or variables (in the algebraic sense) at this point?