Here's a true relation that you can factor into your model, if you'd like, for, though I am a long-time programmer, I don't go in for the study of game theory. I am, however, familiar with some of the precepts. Here goes:
When a person causes negativity/unhappiness, the person(s) on the receiving end gets an equal positive amount of karma. Karma is what determines our long-term happiness or lack thereof.
When a person does something intended to cause positivity/happiness, there is no negative effect on the receiver, even if they refuse the gesture.
In other words, acts of selfish negativity incur a zero-sum negative karmic effect, every time, without fail, though often without being observed at the time (or even, ever). OTOH, acts of selfless positivity only incur positive internal karmic effect for the doer; nothing is lost by the receiver.
In yet more other words, we can only receive negative karma from our own actions; others' actions can only result in positive karma for ourselves (if we are on the receiving end of selfishly negativity). For example, a poor person loses no karma from accepting charity, though the giver definitely gains.
As such, karma is skewed asymmetrically towards easier positive creation; i.e. it's only a zero-sum game when the first choice is negative/selfish.
Why, then, have the world's populations not yet created a "Heaven on Earth"? Because we human beings are also free to ignore all notions of karma and the associated question of why we are happy/unhappy. If a person chooses to believe that they are just amoral animals competing for scarce resources, then they are fully authorized to live their lives that way. We are also free to believe that the Earth is flat. The universe is the sole arbiter of the truth, however, and we all reap what we sow. Every time, without fail, with perfect justice, however difficult it is for us to comprehend at any given time, given our state of moral undevelopment.