Slot machine, Computer Engineering

A special Slot Machine is introduced in a new casino; this machine has a digital interface of a 3X3 grid. An interface button named as SPIN for making the machine spin. There are four symbols BELL, BAR, CHERRY, and PLUM that can appear at random on the grid. The machine accepts 3 coins for a single spin. The machine has a special interface for collecting input coins. The inserted coins are also accumulated and shown on the machine interface. When the machine is spun a 3X3 pattern appears on the screen. If there is any match symbol in a row, or a column or in a diagonal the player is rewarded with 5 times the input-coins. If the there is more than one such row, column or diagonal the reward will be double for each, if the two diagonals are the same the reward will be 10 times. You are required to implement a C++ class, which can be used to simulate this machine on computer. For example if a player spun the machine and it appears as the given below:

2486_Slot Machine.png


The player will be rewarded with 2 times the coins used to play the bet that is 6 coins, as only one matched column appeared.

Posted Date: 3/13/2013 6:55:05 AM | Location : United States







Related Discussions:- Slot machine, Assignment Help, Ask Question on Slot machine, Get Answer, Expert's Help, Slot machine Discussions

Write discussion on Slot machine
Your posts are moderated
Related Questions
Reprography In order to disseminate information widely some method of reprography is invariably used. Reprography is the science and practice of copying documents by photograph


Motherboard is called as motherboard because in the world all borned creature is directly attached to her mother & after it all the relations makes due to her mother so in the simi

Accessing the Operands: operands are usually place in one of two places: -registers (32 int, 32 fp) -memory (232locations) registers are -simple to spe

Illustrate about object oriented development object oriented development is not direct way of system development as in this approach a holistic view of application domain is co

Q. Define a Formal System? A Formal System is one which is planned in advance and is used according to schedule. In this system procedures and policies are documented well in a

A logic gate is an electronic circuit that generates a typical output signal which depends on its input signal. Output signal of a gate is a general boolean operation of its input

Q. Creating a New Directory in DOS? You can create any directory under any directory in the hard disk or floppy disk. The command to create a new directory is MKDIR or MD. To c

A sorting algorithm is stable if  Preserves the original order of records with equivalent keys.

What is overriding? Overriding is an inherent part of association. It can show an ordered set of objects by writing {ordered} next to the appropriate association end. In 200