Using the Visual Studio IDE, create a Form that contains a game in which the computer randomly selects one of three letters (A, B, or C) ten times, and the user tries to guess which letter was...


Using the Visual Studio IDE, create a Form that contains a game in which the computer randomly selects one of three letters (A, B, or C) ten times, and the user tries to guess which letter was selected. At the start of the game, read in the previous high score from a data fi le. (Create this fi le to hold “0” the fi rst time the game is played.) Display the previous high score on the Form to show the player the score to try to beat. As the player makes each guess, show the player’s guess and the computer’s choice, and award a point if the player correctly guesses the computer’s choice. Keep a running count of the number of correct guesses. After ten random 706 CHAPTER 14 Files and Streams Apago PDF Enhancer selections and guesses, disable the game controls and create a fi le that holds the new high score, which might be the same as before the game or a new higher number. When the player begins a new game, the high score will be displayed on the Form as the new score to beat. Save the project as HighScore.



May 19, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here