Hi,
I want to include a Point System that you earn 10 points every 2 hours for example.
So would the best way be to just record the date and time in web storage. So ..
1. During the game monitor time passed, if 2 hours passed add 10 points.
2. Record the time on exit of the app, and check the time elapsed on next open.
I couldn't find anything relating to this, but I don't want to re-invent the wheel if someone has a plugin or something for this already?
Thanks