joshuafielding / uigp

cap 3104 group project
1 stars 2 forks source link

add save states #6

Open joshuafielding opened 5 months ago

joshuafielding commented 5 months ago

https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API local storage api javascript

need to be able to have save states for players

joshuafielding commented 5 months ago

added local storage saving for xp and gold. need to add it for enemy health and attack as well.