So i wanted to have a way to save the data of my game by flipping 0's to 1's in a txt file but how can i do that? how can i get the game to read the file so for example: if on line 12 of the txt file there is a 1 in the game a level is marked as beaten AND how can i make it so it gets changed into the said 1? i'm not really good at writing these posts so sorry for confusing stuff if there is any.
Please help :)