I am trying to build a card game like hearthstone and there are some basic implementation I don't understand:
Each action player make is meant to be recorded in a replay file. My thought is to store them in a plain text file, but I am wondering if there is a better way to store these information, because I see a lot of save files/replays from other games are in certain format (different suffix which cannot be read directly, encoded?)
When one player decides to move/attack/place cards on the board, should the validation of legitimacy of …