How do I apply different probability factors in an algorithm for a cricket simulation game?
- by Komal Sharma
I am trying to write the algorithm for a cricket simulation game which generates runs on each ball between 0 to 6. The run rate or runs generated changes when these factors come into play like skill of the batsman, skill of the bowler, target to be chased. Wickets left.
If the batsman is skilled more runs will be generated.
There will be a mode…