From 67717c29ff0246a76a7785ce6e539ba2d24f2ed3 Mon Sep 17 00:00:00 2001 From: nprimo Date: Tue, 27 Jun 2023 17:18:46 +0100 Subject: [PATCH] docs(corewar): make subject coherent with new VM functioning --- subjects/corewar/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subjects/corewar/README.md b/subjects/corewar/README.md index 4fe1e7ccf..e0f6405f2 100644 --- a/subjects/corewar/README.md +++ b/subjects/corewar/README.md @@ -120,9 +120,9 @@ It implies that moving backward of one position from `0` will bring us to the ad > Having circular memory guarantees players they will never overflow the memory space they are playing in. -#### Stop player execution +#### Stop process execution -Every `CYCLE_TO_DIE` the VM will check for every player if it signaled it was alive at least once, if it didn't all processes created by this player will be immediately killed. +Every `CYCLE_TO_DIE` the VM will check for every process if it signaled it was alive (or in other word, if it has executed a `live` instruction) at least once, if the process will be immediately killed. To avoid infinite games, `CYCLES_TO_DIE` will be decremented by `CYCLE_DELTA` under certain conditions: