I am writing a text-based RPG game using some OOP and polymorphism. I wanted to add a game save function to it, but I am at a dead end as to how to do this. I don't want to use a basic 'ofstream' function, but I want to make sure the player can't edit the save file. So I was thinking about serialization or something. It also needs to be efficient for performance. I am just intimidated by all the options and I don't know what to pick or use.