]> git.pond.sub.org Git - empserver/commit
Change fairland island size probability distribution
authorMarkus Armbruster <armbru@pond.sub.org>
Mon, 9 Mar 2009 20:22:03 +0000 (21:22 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 10 Mar 2009 19:52:26 +0000 (20:52 +0100)
commitddbf8c482b1d45bebd43758edcc89cb66b27fd38
tree100e3472bd3b99f0ddf4dcec37e758ccc45db925
parent8ebed5ba057d18a5ab08a0d7b2cee96c72f1f9ff
Change fairland island size probability distribution

Island size is randomly chosen from the interval [1..2*is+1], with
expected value is.  Use two dice to roll the size instead of one.
This makes extreme sizes much less likely.
src/util/fairland.c