Im doing a simple outbreak game, is a turn based game.
I have in the gam several areas, each area have those variables:
And some global variables:
My logic is simple:
Each turn i do this:
add to area.infected area.population*(infection_rate*0.02)/100
the 0.02 value is a rate of in this case 2% for isolation below 40
But the number go up too fast, more like 20% instead of 2%
any help or advise of how do this math better.
Ps: each cycle that is two turns i do the math for deaths count.. basicaly is this:
add to area.deaths area.infected*0.02
this number also go up high very fast