Originally posted by marc weber:
Exactly, Layne. Thanks for clarifying.
[ snip ]
(I think I considered something like your array idea. But I was looking at making new arrays after each pick, since the "pot size" changed each time. And I questioned whether creating all those new array objects was really any more efficient than numerous loop iterations.)
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton