CS 1713 Major Project 1:
The Slot Machine


This is one of  four major individual assignments that you are required to complete in this class. You MUST design and code this project on your own. You can ask for debugging help, particularly from the tutors, TA or instructor, but this project is to be your own work. The project relies on knowledge and skills that you will develop in Recitation Laboratories 1, 2,  and 3. If you are having trouble with these recitations after your in-class session, please be sure that you come to the lab at another time and sit down with a tutor.

Hand-in Requirements:

Overview:

In this first major project, you will simulate a slot machine that prints three randomly chosen strings each time it is played. The possible values that can be displayed are "Orange", "Lemon", "Cherry" and "Wild". If all three strings are the same, the player wins, otherwise the player loses. A "Wild" matches any of the four other choices. The slot machine also keeps track of the number of games won, lost, and played.

You will develop a SlotMachine class to represent the slot machine and a SlotMachineMain to test the SlotMachine and play the games.

The SlotMachine Class

The SlotMachineMain Class for testing:


Last revision: September 22 , 2000 at 5:30 am.