Possible MaxRounds bug

Hi,

I was attempting to set the maximum number of rounds to say 250, but the engine kept running for 1000 ticks.

I see in the ConfigurationService.cs file https://github.com/EntelectChallenge/2021-Galaxio/blob/501436d871e0d98cbea44955854f8be424fce338/game-engine/Engine/Services/ConfigurationService.cs
MaxRounds is set equal to the radius:

Value.MapRadius = botCount * Value.MapRadiusRatio;
Value.MaxRounds = Value.MapRadius;

Is this intentional or copypasta?

Hi RHL,

We did link the two together intentionally as part of our balancing changes, but we are going to make them independent again in our next round of changes. I will let you know when those changes are released.

In the meantime if you wish to decouple them, you can locally change what Value.MaxRounds is set to.

Kind Regards,
Jana

2 Likes