corewar-teamprojekt / corewar

Corewar is a game about competitively optimizing assembly code. See our issueboard for current issues.
https://corewar.shonk.software
Apache License 2.0
11 stars 0 forks source link

Make all instructions immutable #206

Closed flamion closed 3 hours ago

flamion commented 2 weeks ago

As developer

I want clean, easy to understand code, where it is harder to make mistakes while making changes. For the game data visualization, we need to make all instructions immutable to make tracking changes to the memory easier to collect in a single place instead of in each instruction. Making the instructions immutable aids this, as all changes now have to happen through the memory core, which will act as central collector for the data about the reads/writes.

NOTES:

BLOCKERS:

Acceptance Criteria: