PaulB-H / gorgontimers

Keep track of when you looted a chest, and show how much longer until you can loot it again

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gorgon Timers

Made with:
HTML, CSS, JS

paulb-h.github.io/gorgontimers/

Description

An app to keep track of timers in an online game

Details

There are chests within dungeons that you can loot every (x) hours.

The MVP will be a list of chests for each dungeon, where you can click on a chest to mark it as looted.

When you do so:

  • Set a "lastLooted" property on the according chest item to the current UNIX timestamp
  • Start a global interval to run every 1 second and update the remaining time on any active timers, based on the chests timer, and lastLooted

The MVP does not need any images, however I would like to turn the map into an SVG, then layer some clickable elements over the chest icons, and also display the timer for the chest right below it.

About

Keep track of when you looted a chest, and show how much longer until you can loot it again


Languages

Language:HTML 78.6%Language:JavaScript 19.6%Language:CSS 1.8%