This is virtual Cricket Game built in C++ using OOP concepts.
Total players =11
Players in each Team (Team-A and Team-B) = 4
Players get the run between any number between 0 and 6 (both inclusive) randomly.
if players gets run 0 -> OUT.
TWO Innings:
Inning 1:
Toss winning team choose to bat or bowl.
And plays accordingly.
Batting team bats. And bowling team bowls.
Player changes on declared OUT.
Inning 2:
The other team then plays accordingly.
Previously Bowling team now bats and batting team bowls.
After both innings end display the winning team as per who scored more.
And finally display the scorecard of each player on the scoreboard.