Difference between revisions of "Game clock"

From Pin Eight
Jump to: navigation, search
(New page: There is no need for Mr. Resetti. Every time the player does something, it is logged in a journal. "Saving" just involves committing the journal to the town file. But instead, we have a ti...)
(No difference)

Revision as of 13:49, 8 September 2008

There is no need for Mr. Resetti. Every time the player does something, it is logged in a journal. "Saving" just involves committing the journal to the town file. But instead, we have a time guardian named Eschaton (see Charles Stross's SF novels).

When the game starts, it reads the UNIX time from the RTC using time() and compares it to the timestamp of the last save. If the current time is *before* the last save, Eschaton pops up and gives a speech similar to Resetti's, the player awakes from a dream, and then the game starts from the time ofthe last save. If the player has an alarm clock and has set it set for a time *between* the last save and the current time, the game starts from the alarm clock. It then runs the simulation in fast forward from the last save to the start time.

External links