empserver/tests/fairland/stunted.out
Markus Armbruster 00bfeb833e fairland: Fail when island can't be placed, for fairness
The previous commit made island distribution more fair by placing
islands close to a continent in turn.  This is still unfair when
fairland can't place all the islands.

Make grow_islands() fail when it can't place all islands, and main()
start over then, just like it does when grow_continents() fails.

Deities can no longer fill the world with islands by asking for a
impossibly high number of islands.  Tolerable loss, I think.

fairland-test needs a tweak to avoid loss of test coverage.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2021-01-19 08:27:34 +01:00

100 lines
3.8 KiB
Text

Creating a planet with:
8 continents
continent size: 35
number of islands: 16
average size of islands: 15
spike: 0%
0% of land is mountain (each continent will have 0 mountains)
minimum distance between continents: 5
minimum distance from islands to continents: 2
World dimensions: 64x32
#*# ...fairland rips open a rift in the datumplane... #*#
seed is 1
placing capitals...
growing continents...
growing islands: 1(5) 2(7) 3(2) 4(10) 5(12) 6(5) 7(5) 8(1) 9(1) 10(2) 11(7) 12(1) 13(3) 14(1)
No room for island #15
try #2 (out of 10)...
placing capitals...
growing continents...
growing islands: 1(17) 2(6) 3(2) 4(9) 5(2) 6(2) 7(3) 8(6) 9(2) 10(1) 11(2) 12(1) 13(1)
No room for island #14
try #3 (out of 10)...
placing capitals...
growing continents...
Only managed to grow 32 out of 35 sectors.
try #4 (out of 10)...
placing capitals...
growing continents...
growing islands: 1(3) 2(20) 3(2) 4(12) 5(9) 6(2) 7(2) 8(4) 9(1) 10(6) 11(1) 12(1) 13(2) 14(2)
No room for island #15
try #5 (out of 10)...
placing capitals...
growing continents...
Only managed to grow 33 out of 35 sectors.
try #6 (out of 10)...
placing capitals...
growing continents...
Only managed to grow 33 out of 35 sectors.
try #7 (out of 10)...
placing capitals...
growing continents...
Only managed to grow 29 out of 35 sectors.
try #8 (out of 10)...
placing capitals...
growing continents...
growing islands: 1(4) 2(9) 3(5) 4(8) 5(2) 6(2) 7(3) 8(7) 9(2) 10(8) 11(10) 12(2)
No room for island #13
try #9 (out of 10)...
placing capitals...
growing continents...
growing islands: 1(9) 2(1) 3(2) 4(3) 5(9) 6(4) 7(2) 8(7) 9(3) 10(4) 11(2) 12(2) 13(7) 14(2) 15(1) 16(1)
16 stunted islands
elevating land...
writing to sectors file...
. . . . . . . . . . . % % % . . . . . . . . . . . . . . . . . .
# # # # . . . . . . . . . . . . . . . . . . . . . . . . . . . .
# # # # # # . . % % . . . . . . . . . . . . . . . . . . . . . .
# # # # # # . . % . . % % . . # # # # # # # # . . % . . % . . #
# e e # # # . . % . . % % . . # # # # # # # # # . . . . % . . #
# # # # # . . % % . . % % . . . # # # # # # # . . . . % % . . #
# # # # . . . % . . . . . % . . . # h h # # # . . . . . % % . .
. . # . . . . . . . . . . . . . . . # # # . . . . . . . % % . .
. . . . . . . . . . . . . . . . . . . # # . . . . . % . . . % .
. . . . . . . . . . . . . . . . . . . . . . . . . % % . . . . .
. . . . . . . . # # # # # . . . . . . . . . . . . . % . . . . .
. . . % . . # # # # # # . . . % % . . . . . % % . . . . . . . .
. . . % . . # # g g # # # . . . . . . . . . . . % . . . # # # #
. . . . . # # # # # # # . . . . . . . . . . . . . . . # # # # #
# . . . . . # # # # # # . . . . . # # # # # # . . . . . # # # #
# . . . . . # # # # . . . . . . # # # # # . . . . % . . # # # #
# # . . . . . . . . . . . . . . # # # # # # . . . % . . # # f f
# . . . . . . . . . . % . . . # # d d # # # . . . . . . # # # #
# . . . % . . . . . . . . . . . # # # # # # . . . . . . . . # #
. . . . . . . . . . . . . . . . # # # # # . . . % % . . . . # #
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . # # # # # # . . . . . . . . . . . . . . . . . . . . . .
. . . . # # # # # # . . . % % . . . . . . . . . . # . . . . . .
. . . # # b b # # . . . % . . . . . . . . . . . . # # . . . . .
. . . . # # # # # # . . . . . . . . . . . . . . . . # # . . . .
. . . . # # # # # . . . . . # # # # # # # . . . . . # # # # # .
. . . . . # # # # . . . . . # # # # # # # . . . . . # # c c # #
. . . . . . # # . . . . . # # # a a # # . . . . . # # # # # # #
. . % . . . . . . . . % . . # # # # # # # . . . . . # # # # . .
. % . . . . . . . . . % . . # # # # # # # . . . . . # # # . . .
. . . . . . % % % . . % % . . . . . . . . . . . . . # # # . . .
. . . . . . . . % . . % % . . . . . . . . . . . . . # # . . . .
A script for adding all the countries can be found in "sandbox/stunted-newcap_script".