Ask the player whether he or she wishes to continue to play a game. At the end of each game run, show the following messages: the player’s total deposit, the winning or losing amount and the account balance.7. If the balance is insufficient, prompt the user to deposit more money, else the game chosen by the player starts.6. After a game selection is made, check the player’s account balance. Display a game menu containing the two games offered (Slot Machine, Blackjack) and prompt the player to choose a game he or she wants to play: 1=Slot Machine, 2=Blackjack and the amount the player would like to bet on the chosen game.5. Your program needs to keep track of the player’s account balance through the entire game.4. Ask the player to make an initial deposit, the required minimum amount is $20 and the max is $1000. Display a personalized welcome message.3. Here are some suggestions for the game’s design:ġ. The two game simulations that you will be developing are: Slot Machine and Blackjack. The goal is to have you apply the knowledge, techniques and problem-solving skills you have learned in this class. The final project asks you to develop an application involving simulation and gaming – Casino Simulation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |