Fork AD

Random map generation benchmarks

The game engine provides a random map generator, which helps replayability and encourages players to explore. We made some improvements to this part of the code and performed some benchmarks to quantify these. As these might be of interest to some we decided to share them.

The tests were performed on the map entitled "Mainland" which is a multiplayer favourite. All sizes available in the game setup were tested with the number of players chosen according to the map size. For each size, 50 maps were generated.

We compared our results against 0 A.D. at SVN revision 23628.

Then the same tests were done with another map, "Alpine Valley".

It seems our improvements did pay off. For those interested in contributing you know where to find us.