I need help making a save system for my python game

I am pretty proud with my game. Its just that I dont know how to make a save system since I just started Python. Can anyone help me?

link to game: https://replit.com/@j7jhj/Isles

Use the repl value store? This is how i implemented. It has a limited storage size but it is less prone to concurrent issues than using files and trying to implement manually a lock system

You can use the replit database to save user info and more things!

How do I use the Replit Database? I am new to Replit so I have no idea what to do.

You can check the documentation :