I want to develop cricket game which will simulate a match ball by ball depending on player stats (bowler's skill/experience, batsman's skill/exp, fielding/wicketkeeping stats, so on...) and other related variables. Plus user can provide inputs during the match & the result should alter according to the user inputs. The match is purely text based no graphics. I am to develop this in
java.
For this I am not sure what do I need to learn to write this kind of logic. I read somewhere that Finite State Machine or AI might come in handy. I just need a little guidance. Can anyone help Thanks