simplified save/restore game state logic