| You could also pass in "top" "middle" "bottom" which would then randomly cut the deck within the passed criteria.
i.e., passing "top" would cut the deck randomly between 0 and 20, middle between 21 and 32, etc. etc.
I liked the idea of an overloaded method simply because it introduces the idea to people who might not be familiar with it.
Edit: Posting solution soon, had to tweak cut method to account for overloads.
Last edited by Zippygoose : 01-02-2007 at 10:20 PM.
|