Nov-08-2019, 06:08 PM
Hi,
I'm quite new to programming and am currently making an LAN 2D Shooter on Python3 (Pygame). For my game, the player will have the option to log in or sign up and their highscores and login details (username and encrypted password) are going to be stored in a database.
I only have one talbe with 4 fields (Primary Key ID, Username, Password and High-score). Would there be an advantage of using Sqlite instead of something like a csv file? I've heard that sqlite is mainly for relational databases, but do you think it would be appropriate for this?
I'm going to be storing just the player's own highscores locally btw. Any advice on this matter would be helpful, thanks :)
I'm quite new to programming and am currently making an LAN 2D Shooter on Python3 (Pygame). For my game, the player will have the option to log in or sign up and their highscores and login details (username and encrypted password) are going to be stored in a database.
I only have one talbe with 4 fields (Primary Key ID, Username, Password and High-score). Would there be an advantage of using Sqlite instead of something like a csv file? I've heard that sqlite is mainly for relational databases, but do you think it would be appropriate for this?
I'm going to be storing just the player's own highscores locally btw. Any advice on this matter would be helpful, thanks :)