Michael W. Ryder wrote:
> Scott Andrechek wrote:
>>     @numberShowing
>> puts '$' + money.to_s + '-' + '$' + bid.to_s
>> number= gets.chomp
>> puts 'Dice roll was....'
>> die = Die.new
>> die.roll
>> puts die.showing
>> if @numberShowing.to_i==number.to_i
> 
> Why are you using @numberShowing instead of die.showing?   If you print
> @numberShowing here I think you will see your problem.

Thanks. You can now win money. Unfortanatley you still can't go 'all 
in'. Hopefully a solution will come up...

-Scott

-- 
Posted via http://www.ruby-forum.com/.