Question: C# Guessing Game Application. This is how my application looks like so far. I can't figure out how to do this: Each game played has

C# Guessing Game Application. This is how my application looks like so far. I can't figure out how to do this:

Each game played has 3 rounds and whoever (computer/user) wins each round, their score is carried over to the next round. In the end, the final scores are stored in a text file and whoever gets the highest score is the winner. Please help me. Below is my code in screenshots:

C# Guessing Game Application. This is how my application looks like so

far. I can't figure out how to do this: Each game played

has 3 rounds and whoever (computer/user) wins each round, their score is

carried over to the next round. In the end, the final scores

are stored in a text file and whoever gets the highest score

is the winner. Please help me. Below is my code in screenshots:

public partial class Formi : Form 13 14 15 16 17 18

public partial class Formi : Form 13 14 15 16 17 18 19 20 21 public Form1() InitializeComponent(); groupBox2.Visible - false; groupBox3.Visible - false; groupBox4.Visible-false; 23 24 25 private void enterGuessButton_Click(object sender, EventArgs e) 26 27 28 29 30 31 32 Random rand-new Random() int randNumrand.Next (11, 36); int number1; int number2; int number3; int number4; int guesses0; int humanScore-0; int computerScore -0; 34 35 36 37 38 39 40 41 while (guesses randNum) displayLabel4.Text"Too High"; computerScore +- 1; computerScoreLabel.Text - computerScore. ToString(); else if (number4 randNum) displayLabel4.Text"Too High"; computerScore +- 1; computerScoreLabel.Text - computerScore. ToString(); else if (number4

Step by Step Solution

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

Students Have Also Explored These Related Databases Questions!