diff options
| author | Tanner Robison <[email protected]> | 2026-07-16 20:22:59 -0700 |
|---|---|---|
| committer | Tanner Robison <[email protected]> | 2026-07-16 20:22:59 -0700 |
| commit | 11539724a571085ba36d04f48f713ed723ef55ca (patch) | |
| tree | 6afa434b4cbb7f4979bbcc64dcd0b21b6e3e9239 /abellian_sandpile.c | |
| parent | 6577467c897d79a6bd2b19ddde2dd12eaef6f228 (diff) | |
back to numbers
the geometry is rlly just much more noticable like this
Diffstat (limited to 'abellian_sandpile.c')
| -rw-r--r-- | abellian_sandpile.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/abellian_sandpile.c b/abellian_sandpile.c index 321f53a..b432706 100644 --- a/abellian_sandpile.c +++ b/abellian_sandpile.c @@ -126,13 +126,13 @@ int render(int height, int width, int (*positions)[width], if (new_positions[i][j] == 0) { printf(" "); // Empty cell } else if (new_positions[i][j] == 1) { - printf(COLOR_WHITE "o"); // Cell with value 1 + printf(COLOR_WHITE "1"); // Cell with value 1 } else if (new_positions[i][j] == 2) { - printf(COLOR_YELLOW "0"); // Cell with value 2 + printf(COLOR_YELLOW "2"); // Cell with value 2 } else if (new_positions[i][j] == 3) { - printf(COLOR_ORANGE "@"); // Cell with value 3 + printf(COLOR_ORANGE "3"); // Cell with value 3 } else if (new_positions[i][j] >= 4) { - printf(COLOR_RED "#"); // Cell with value 4 or more + printf(COLOR_RED "4"); // Cell with value 4 or more } } printf("\n"); // Move to the next line after each row |
