3 ms·
I think it treats it as a legal instruction. What I don't get is the replicator strategy. How does replicating yourself help not die? Even if you replicate y
by kenjackson 16y ago
I think it treats it as a legal instruction.
What I don't get is the replicator strategy. How does replicating yourself help not die? Even if you replicate yourself to all the memory except one address -- but that one address is where your IP is you're screwed. It seems like repairing yourself and attacking the opponent are the only feasible strategies -- at least if I understand correctly.
- fhars 16y agoThat is what the SPL instruction is for: the program copies its preferably short code to some random location and then splits its execution to continue with both. You are only dead once your last execution pointer hits an illegal instruction.
- elwin 16y agoReplicators split into multiple processes, each with its own IP. A program isn't considered dead until all its processes are killed. If one of its processes stumbles across a bad address, the others aren't affected.
- kenjackson 16y agoAh OK, didn't read carefully enough. Thanks.
- Xk 16y agoIt does not treat it as an illegal instruction. It keeps running their code just fine. This is how Imps fight. The most basic imp is defined as mov 0 1 It copies itself to one instruction ahead of itself. On the off chance it hits the opponents pointer, the opponent becomes an imp too and they both just circle around the core forever. See elwin's comment below on vampires (for now, hopefully above soon).