simulation: separate out mutation into its own function

This commit is contained in:
2026-03-18 09:53:27 +00:00
parent 41c4a39e05
commit deec79a3bf
2 changed files with 5 additions and 2 deletions

View File

@@ -16,6 +16,7 @@ typedef struct
bf_token memory[SIMULATION_SIZE];
} simulation_t;
void simulation_mutate(simulation_t *sim);
void simulation_iterate(simulation_t *sim);
void simulation_draw(simulation_t *sim);