Support for arrays?
JackieMac
Member Posts: 14
Hello,
Is there support for arrays? Or, some other way of storing and accessing a predefined list of things?
For example, how would I represent a shuffled deck of cards programatically? And then access them one at a time, to deal them?
Thanks.
Is there support for arrays? Or, some other way of storing and accessing a predefined list of things?
For example, how would I represent a shuffled deck of cards programatically? And then access them one at a time, to deal them?
Thanks.
Comments
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
Thanks.
And it probably wouldn't be worthwhile to mention it because it would get slower and slower since you would need to run the random number generator over and over until you found a card you haven't chosen.