A C based cricket simulator for the Twenty20 format.