Question: As is, your page does not recognize when a player has run out of money. It is possible for the user to play your slots

As is, your page does not recognize when a player has run out of money. It is possible for the user to play your slots game even after the number of credits becomes zero, and the credits can become negative as a result. Any smart casino owner would put a stop to this immediately. Add code to SpinSlots that disallows a spin if the player's credits have reached 0. In particular, the existing code for simulating the spin and displaying the results should only be executed if the player has money?

Step by Step Solution

3.28 Rating (163 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (1 attachment)

Word file Icon

1409-C-S-O-S(1048).docx

120 KBs Word File

Students Have Also Explored These Related Operating System Questions!