Log In System
This is a login system that is free to use by anyone, but if you do use it please state that in the description of your game. Hopefully you find this helpful, if there are any errors please leave a comment.
If you already have an account and make a new account the new account will overwrite the old one.
Please make sure your username and password is correct before leaving a comment
-How it works-
When you run the script, all of the values will be saved to a text file and only your value is there because it creates a brand new file in the code, if there isn't a pre-existing code.
Wow, very helpful! One suggestion, I think you should add more than one login system, not one. Anyways, I think this may come in handy!
Hi, I would like to know how you saved the username and password in your program without it getting erased when you restarted the program. I find that by using repl and saving things to a text file in the repl, the data doesn't get saved if not used by the owner.
cprint("Make an account", "green", attrs=['bold'])
cprint("Log in", "green", attrs=['bold'])
cprint("Make an account\nLog in\n", "green", attrs=['bold'])
(sorry code blocks were not working)