Posted 19 April 2014 - 06:30 AM
Hello. I'm trying to create a program that will allow for card games in computercraft.(Why? Well, why not?) But the problem is that I've hit a snag. Well, two of them. First, while I do have a random number generator in my script, I don't know how to create a number generator that will only choose between specific numbers. I.e. between 1, 10, 20,14, etc. instead of say, 1-54. I also have absolutely no idea how to remove numbers from my script once I do have the ability to create the number generator.
Here is a copy of my script: http://pastebin.com/pFG0pYC6 Thank you for any input you might have.
Here is a copy of my script: http://pastebin.com/pFG0pYC6 Thank you for any input you might have.