This is a rng generator that is weighted to make it more realistic for cricket. The program randomly generates a number between 1 and 100 and if that number falls between a certain range, a certain value is displayed in the console. This also includes run rate, total score/wickets, wides, timelines of overs and a full timeline of each inning, powerplay weighted percentages and special percentages when a score is high or low, etc.
Most people on replit are from America so a lot of you won't know what cricket is. If so ask away in the comments and I will do my best to help!
Oh and yes this is a console program built in C++. I understand it is a bit simple but have tons of features planned in my trello.
If you think any of the percentages should be changed, or if you find any bugs (most are related to all out as that doesn't happen frequently), please feel free to tell me in the comments!