Question
C++ PROGRAMMING LANGUAGE!! C++ C++ C++ PROGRAMMING LANGUAGE! Fishing Game Simulation Write a program that simulates a fishing game. In this game, a six-sided die
C++ PROGRAMMING LANGUAGE!!
C++
C++
C++ PROGRAMMING LANGUAGE!
Fishing Game Simulation
Write a program that simulates a fishing game. In this game, a six-sided die is rolled to determine what he user has caught. Each possible item is worth a number of fishing points. The points will remain hidden until the user is finished fishing, and then a message is displayed congratulating the user, depending on the number of fishing points gained.
GAME DESIGN DIRECTIONS:
Each round of the game is performed as an iteration of a loop that repeats as long as the player wants to fish for more items
At the beginning of each round, the program will ask the user whether or not he or she wants to continue fishing
The program simulates the rolling of a six-sided die (use the Die class demonstrated in this chapter to simulate the dice)
Each item can be cought is represented by a number generated from the die; for example, 1 for "small fish", 2 for "boots", 3 for "large fish", and so on.
Each item the user caught is worth a different amount of points. You decide the number of points for each item before the fishing game starts
The loop keeps a running total of the user's total fishing points
After the loop has finished, the total number of fishing points is displayed, along with a message that varies depending on the number of points earned.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started