So here's my code. It's alllllll done except I need the errorCount to be round specific.
You need to run the 2 classes together.
So when you run it. The error count should increment for each round. With an allotment of 2 errors per round.
Right now it's just 2 errors total for the entire project. So if you make an error in round 1 and round 2 it exits.
I'm trying to make it so if you make 2 errors in 1 round if exits.
So if you did:
Round 1: "q"
invalid input (error count =1)
it reprompts
Round 1: "1"
Paper beats rock. You win a point (error count = 0)
Round 2: "q"
invald input (error count = 1)
reprompts
Round 2: "q"
invalid input (error count = 2)
you have entered too many invalid inputs
system.exit(0)
Does that make sense?