How to code an incremental game using HTML and JavaScript. Part 2.
Channel:
Subscribers:
2,670
Published on ● Video Link: https://www.youtube.com/watch?v=Il-BTujPU6A
This is the 2nd part of my series. Here, we will add the ability to save the game via localStorage, and add a counter that shows how long you've played in total.
What was 5 variables is now down to just a single one, the heart of our new incremental game.
Inspired from @tanktotgames8873.