Hello all! I need help coding a mini game for my computer science class. I'm not sure where to start, and the whole game confuses me, so I thought I'd come here for help. I have to create an application that acts as a simple slot machine. The user starts with 100 tokens. With each "pull" of the handle (button), the user loses 1 token and the computer "spins" three wheels, each consisting of the numbers 1, 2 and 3. If all three numbers are 1, the user gets 4 tokens; if all are 2, the user gets 8 tokens; if all are 3, the user gets 12 tokens. The number of tokens that the user has should be displayed on the form and the result of the spin should be displayed in a message box. Any help would be greatly appreciated, thanks! :)
↧