I don't think I could use this in a game. If a player wanted to use the fireball, they'd have to waste 2 bombs before. You gave me an idea where it could be used - cards game.
Thats just for Stack, to pick within the list you would use Deque.
Also yeah card games would be a good example.
Develop games in your browser. Powerful, performant & highly capable.
Awesome! This should definitely be added to the "core" plugins! I'll be using it a lot!
If this can do what I'm hoping it can do, it should be VERY useful and far quicker than certain previous methods of doing certain things.