/codm-draw-simulation

CODM Lucky Draw Simulator Python

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

COD Mobile Lucky Draw : Monte Carlo Simulation

The python code reads odds of the various items in the lucky draw from the CSV file. It continues to play the draw the action till the intended item (Legendary Weapon) is received.

The although the items are different for each draw, the odds continue to be the same across the draws. We try to simulate the draw 10,000 times and determine how much percentage of players (out of 10,000) receive the draw in each of the turns.

The results of the simulation can be used as a aid for decision making. A snapshot of the simulation is obtained as

image