That would be cool and very much appreciated.
Snippets of the section with the replays is perfectly fine too if sharing the source code is too troublesome. Having a general idea of how it’s implemented is enough for me.
https://github.com/v4rii/BeginnersJam25
TL:DR is that every action the player takes (i.e. every time the player hits "confirm"), data about that action is packed into a tuple and added to a list.
During "playback mode", whenever the player is lacking commands, they check the next item in the pastActions list and perform that.
That should've worked, and it did 90% of the time, but it ended up desyncing a lot so i then slapped on a ton of bandaid fixes LOL