The number of participants
In each trade (or gamble) the amount being bet is equal to the
MaxBet% of the poorer player. For example, if we choose "
20%" as the max betting percentage, and the two players betting have wealth of $100 and $1 million dollars, respectively, then the "stakes" they are gambling for would be
$20 as this is
20% of the poorer player's wealth.
How many rounds have been played? A round consists of every player participating in 1 bet.
How fast is the simulation running.
This is a variant of the original yard-sale-model. In each trade, I have the winner also win an extra amount. For example if the
0.1, then instead of winning
$20 they would win an extraem>
0.1 * $20 = $2 - and receive
A measure of the inequality of a population. 0 means perfect equality (everyone has the same wealth), 1 means perfect oligarchy (every has no money, except one person who has all the wealth)
TotalWealth:Sum of each player's money. Initially the same as
populationSize * moneyPerPlayer. If trades are zero sum, then this stays constant.
Source code and further explanation is on Github/@secretGeek/yard-sale