DEV Community

loading...

Discussion on: I made a Game with vanilla HTML CSS and JavaScript

Collapse
ayushmanbthakur profile image
Ayushman Bilas Thakur Author

For the global leaderboard I have actually used nodejs + mongodb(and called the api from my frontend when necessary), but due to security reasons I don't have that code public in my GitHub. However, for the local highscore, I've used localstorage.

Collapse
salyadav profile image
Saloni Yadav

Security reasons, that makes sense :) I wanted to know if I was headed in the right direction. Thanks :)