1
\$\begingroup\$

A hallmark of many idle games is the ability to still progress (or at least regain resources) while the game isn't active. The device can even be off.

Initially I figured they just calculated progress off system time next time it was started, but they do not appear fooled by messing with the clock.

How do they manage this specific feat?

| improve this question | | | | |
\$\endgroup\$
  • \$\begingroup\$ Unfortunately, how do other games work is not on-topic here. You might reword the question to highlight a specific problem you're having while developing your own game, with the steps you've taken to solve it. \$\endgroup\$ – Vaillancourt Nov 18 '19 at 16:34
  • \$\begingroup\$ @Vaillancourt Trying to replicate a game feature is off-topic? Okay. \$\endgroup\$ – Weckar E. Nov 18 '19 at 17:02
  • \$\begingroup\$ The question is not formulated as such. You might want to reword it and highlight what you have tried so far but did not work for your specific situation. \$\endgroup\$ – Vaillancourt Nov 18 '19 at 17:14
  • \$\begingroup\$ @Vaillancourt At this point it hardly matters, I've gotten the information I needed :) \$\endgroup\$ – Weckar E. Nov 18 '19 at 17:20
  • 1
    \$\begingroup\$ Sure :) You still may consider accepting one of those if it makes sense to you! \$\endgroup\$ – Vaillancourt Nov 18 '19 at 17:36
2
\$\begingroup\$

They do actually use the clock the way you think they do, but they'll sometimes make network requests to get the time from a more reliable source. Try disabling the internet, closing the game and then setting the clock. They should either completely refuse to load or have the wrong values.

| improve this answer | | | | |
\$\endgroup\$
2
\$\begingroup\$

They do mess with some time and calculate everything from it. The question is which time do they use?

Some games do use system time, and on their case, if you change your time locally, you can fool them to earn rewards.

Other games use server time, so when the game starts, it attempts to connect to a server to get that time and make all the calculations. This is more likely the case with web games, as you can't access them as easily as other games.

| improve this answer | | | | |
\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged or ask your own question.