0

I want to develop a login system for pygame so that when the user logs in they see how much progress they have made on the game.I don't want to store the info in a .txt file.Can you please help?

  • main problem is GUI - PyGame doesn't have widgets to ask for login, password and press button. You will have to check external modules for this - and it may need many changes in code if you already have some code. If you don't want to store in filet then where you want to store ? Database ? It will need more work. BTW: if you use database SQLite then it save it in file :) The simplest can be file with `JSON` or `YAML` or `pickle`. – furas Jun 29 '20 at 23:39
  • I'm guessing the point is not storing the passwords in plain text? (whether that is txt, json, yaml or whatever). I suggest looking a bit into encryption/decryption and hashing... Unless you have a server somewhere your passwords will get stored on the local disk in one file or another. – Cribber Jun 30 '20 at 10:28
  • I want the user to download the application so I dont want the user to download all the users along with it – Random_Coder Jun 30 '20 at 15:34

0 Answers0