Open pcworld opened 7 years ago
if (day > 125*365.25) { print "you're going to be dead and eating dirt"; }
A similar case for day < -125*365.25 might be useful.
day < -125*365.25
Sources: https://de.wikipedia.org/wiki/%C3%84ltester_Mensch + a little safety buffer
Not futureproof, what if life expectancy rises? Should at least be a configuration parameter, if not a web service.
added some code in PR #15
if (day > 125*365.25) { print "you're going to be dead and eating dirt"; }
A similar case for
day < -125*365.25
might be useful.Sources: https://de.wikipedia.org/wiki/%C3%84ltester_Mensch + a little safety buffer