Closed Xyaneon closed 1 year ago
Additional info output for the turn just before the crash:
Money: $611,295,233,673.91 | Henchmen: 676,262,473 | Land: 12,089,031 km² | Reputation: 29%
You control a land area comparable to Antarctica.
Your secret base is at Level 4.
Your nuke research is at Level 0 (not yet started).
136,850,966 km² of land and 5,645,001,923 people on Earth remain uncontrolled (91.88%).
The government has been defeated.
The issue seems to be with this line:
This does not take the actual available remaining land area into account. If a player has a sufficiently high amount of money (and the price of remaining land is sufficiently high), then the amount of land they could theoretically purchase may exceed the upper bounds of an Int32
.
Stacktrace from manual testing while working on #89, during next day display near the end of the game: