No Game Engine Game Dev: Word Sleuth 041: Saving a replay file

2 months ago
5

Streamed on 2024-09-02 (https://www.twitch.tv/thediscouragerofhesitancy)

Game Engines are for sissies!

Today I implemented Replay saving. We are writing game configuration data, date/time, and events to a binary encoded file of our own devising. There are some nominal capabilities to detect file tampering, but they are not cryptographically secure. Just enough to make tampering non-trivial. We spent all of today manually verifying data correctness by staring at binary files in hex mode.

There were a couple of opportunities for some minor refactoring as we went, but it didn't amount to much of note.

Loading comments...