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.
This commit is contained in:
parent
afc0ef94ee
commit
c798863bd7
3 changed files with 756 additions and 756 deletions
|
@ -812,7 +812,7 @@ grow_islands(void)
|
|||
secs = 0;
|
||||
if (!place_island(c, &x, &y))
|
||||
return;
|
||||
isiz = roll(2 * is - 1);
|
||||
isiz = roll(is) + roll0(is);
|
||||
do {
|
||||
++secs;
|
||||
find_coast(c);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue