Martin DeMello
4/14/2005 5:18:00 AM
Jacob Fugal <lukfugl@gmail.com> wrote:
>
> It looks like 53 (Red Joker) would be classified as black (53.black?
> == true) since 53 > 26. Maybe change to:
>
> def black?
> self > 26 and self != 53
> end
Or even neater, change the range from 0..53, and make it [joker, cards,
joker]
(are there red and black jokers? thought the two were identical)
martin