From: Rick Barrett Date: 2009-10-28T23:01:20+09:00 Subject: Re: Help With Homework Code Thank you Candlerb. The only thing is that somehow created another small problem (or maybe it was something else) if ((roll_1) && (roll_2) != 0) puts faces[roll_1] + faces[roll_2] score = score + (roll_1 + 1) + (roll_2 +1) puts "Current Score is: " + score.to_s() elsif ((roll_1 == 0)||(roll_2 == 0)) puts faces[roll_1] + faces[roll_2] puts "You rolled a 1! You lose!" puts "Final Score is: 0" (answered = true) end It won't count roll_1 into the "elsif" at all and I have no idea why. ex. If roll_1 is a One it will stay in the "if". If roll_2 is a One it will go to "elsif". -- Posted via http://www.ruby-forum.com/.