tiny-devs / tiny-dungeon-online

The FIRST Deno based online RPG!
https://diguifi.itch.io/tiny-land
MIT License
59 stars 9 forks source link

Cloud data storage and login system (?) #131

Open diguifi opened 4 years ago

diguifi commented 4 years ago

My idea is 0 expenses, so maybe linking and data at the player's Google Account might be a nice way out of not having to sign for any data base and still have all user info on the cloud for free using "log in with google".

Latoh commented 2 years ago

At first i think we could use a json file, to store name, level, last position, items. What do you think?

diguifi commented 2 years ago

To be honest, I was thinking of storing just the current hashed data that is aready generated (instead of storing it on the local storage, storing it on firebase).
Today, we receive the hash from the client (as eventData[4]). I was thinking of receiving a login/pass from the client and with that fetching the hash from firebase.