We define the state that we keep from turn to turn. This is the consequence of the ruler's policy each year.
let state = { year:1, population:100, immigrants:5, plague:0, starved:0, storage:2800, harvest:3000, yield:3, loss:200, estate:1000, market:19 }
state
//wiki.ralfbarkow.ch/assets/pages/snippet-template/basicjs.html?snippet-template HEIGHT 200