chinesedfan / hsrecorder

Single HTML page for recording information about your HearthStone games
https://hsrecorder.vercel.app/html/main.html
1 stars 0 forks source link

include NAXX cards #20

Closed chinesedfan closed 9 years ago

chinesedfan commented 10 years ago

The key problem is that how to assign card IDs. I want to keep all cards alphabetical based on their names, while IDs are also continuous. The current design leaves no room for new cards.

Seems that I should abandon saving cards information in js file. Use the database, or change the card ID from an integer to a String.

chinesedfan commented 9 years ago

Finally, I use system's string IDs, instead of numbers. The refactor starts from commit 87531b5.