![]() I would have just asked my CompSci teacher but he sent out an email a few hours ago saying he's out sick but to still work on the Slot Machine stuff. ![]() Although most of what I've done hasn't worked. What I've done so far is setup the 2 classes like my CompSci teacher asked and tried adding some stuff of my own. For this, there are 2 files, SlotRunner, which will utilize the SlotMachine class and spit out the values of the 3 reels/tell me whether or not I won, and the SlotMachine class is what contains most of the code that actually does stuff. to win, you have to have all 3 reels be the same ex."spin x: cherry cherry cherry, you won" and then stop running. What the code is supposed to do is create a 3 reel, 6 icon slot machine in two classes that utilize objects that, when ran, will say something like "spin x: orange grape cherry, you lost" It will keep running until you win. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |