Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs

 I was curious what would happen if I reached a max int value, but the game finally stopped counting at a curious number.

Then I went to leave a comment, so I had to log in, and the game started again, at an earlier date - until it froze again at this one:



WHAT HAPPENS IN THE FUTURE AND HOW IS THIS GAME AFFECTING IT???

Dates are limited to 100,000,000 days before or after the epoch of 1 January 1970 AD 00:00:00 UTC for precision reasons. You seem to be hitting this future limit (275760 AD), causing your date to stop increasing.

The dates stop earlier than that because adding the time per game tick to the current date goes past the limit.

(1 edit)

Yep, that's exactly what's happening. Or, to put it differently: according to the ECMA-262 standard, there's no future beyond 275,760 AD ;)

Thanks! Curiosity quelled. That's really interesting.

(1 edit)

This is now fixed in version 1.1 of the game. Technically, there's still a limit but it's very very very very very high :)