From: Jeremy Woertink Date: 2006-10-13T06:51:04+09:00 Subject: Re: New to ruby questions I do have another question. I want to do something to set the point values of the cards, I'm not quite sure how to go about doing so. I did come up with def points if @value == 'Jack' then 'Jack' = 10, @value == 'Queen' then 'Queen' = 10, @value == 'King' then 'King' = 10, @value == 'Ace' then 'Ace' = 11 unless @player.player_hand > 10 end end but, this code doesn't work. I was thinking it would work similar to this. If you or anyone else has any ideas please let me know. thanks. again, the full code is http://rafb.net/paste/results/3kQ9pr90.html -- Posted via http://www.ruby-forum.com/.