I’m making a simple game, and I have profile information (the player’s achievements, points, etc.) stored in .txt document. The problem with that is it’s easy to cheat by opening the .txt and changing a number to give yourself more points.
What’s a good way to make this impossible? Or at least make it harder to cheat.
Or write your own encryption algorithm with crude checksum system
EDIT: Also store them in (sub directory of) user home directory, that way they aren’t accessible to other users which is what I thought this thread would be about based on the topic
yg3D: Just what I was looking for! Thanks! Once I knew that what I was trying to do was called AES I could actually google it. I’ve got it working now.
Kheetor: Thanks, but I’m not using Python. Sorry about the confusing title, I didn’t know exactly what this kind of thing was called.