Tuesday, March 13, 2007

Progress Report

Eleven pm Tuesday evening. The good news is that save/restore is working well. The bad news is that I've spent the whole evening so far just on that. Still, I'm glad I have it.

No protection against save scumming. The battle randomnumgen is reseeded where you left off, though, so if you save in midbattle you can't keep restoring and hope for a different outcome.

This being written in javascript, the game is saved to browser cookies. My tests had total save sizes of ~1K, but I figure that will grow as I add more to the game; since there is a 4K limit to browser cookie size I broke it up into 4 cookies, which should be safe.

No comments: