fraktalsyndrom / AAAH-SNAYKUU

An engine/API for programming (and battling) Snake bots in Java!
GNU General Public License v3.0
14 stars 10 forks source link

No proper version control for replay files #7

Open fraktalsyndrom opened 12 years ago

fraktalsyndrom commented 12 years ago

.srp files immediately become incompatible with the client when changes are made. Can anything be done to remedy this?

booski commented 6 years ago

I propose adding a function that dumps the state of the game to a text file according to a format defined by us (as opposed to relying on java serialization automagics). This way only changes that remove functionality would make older replays incompatible.

fraktalsyndrom commented 6 years ago

I like it. This solution requires some careful design work, but will hopefully yield much more change-resistant replays.