ws an easy check whether you stay within the 4k limit, which is just checking the size of the struct.
</p>

<p>
If the structure of the backup/restore memory changes, the AI will become incompatible to earlier saved games. If you wish to avoid that, you have to implement conversion algos, and one piece of information in the memory then should be a version number that lets you tell when and how to convert the structure.
</p>


 <h2>Startup</h2>
 
 <p>
 You should have an idea of the sequence of events in the