Funny - Mariano's comments made me rethink (don't want to do anything hackish :-)) and moving some logic to perhaps a more appropriate class has given me a more elegant solution.
The problem I'm solving is to look at a collection of 7 cards (Texas Holdem: 2 cards per player and 5 community cards) and make the best 5 card poker hand, that can be compared to others. It's a good exercise. -- View this message in context: http://forum.world.st/value-a-trap-for-young-players-tp4634470p4634563.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
