Today's tinkering on Markeen started with testing it on Keen 8, the second installment in Ceilick excellent "The Universe is Toast" trilogy:
|
A clumsy but interesting-looking fusion of the volcano and desert themes. |
I then realized that perhaps my scoring algorithm was to blame for the poor arrangements of certain tiles. Previously, the algorithm had allowed ultra-rare combinations in one direction if there was also a common combination already in place in a different direction. I changed it to score the tile using the lowest prevalence of all the sides' combinations. That resulted in great improvements:
|
Note the increased prevalence of correctly formed structures. |
|
The best I could get out of Keen 5. It actually might be playable after some cleanup. |
Pleased with those results but still not seeing any actually decent levels, I decided to take the plunge and add support for higher-order chains. I updated the profiler to create profiles of arbitrary depth; it now logs the probability of each tile appearing next to each possible match at each position whose distance doesn't exceed the profiling depth. Profiling Keen 5 at a depth of 3 creates a file of manageable size, just 875KB, up from 128KB at the old depth of 1.
Once I add support for higher depth in the generator, stuff should start looking good.
No comments:
Post a Comment