diff options
| author | Tanner Robison <[email protected]> | 2026-07-13 00:55:38 +0000 |
|---|---|---|
| committer | Tanner Robison <[email protected]> | 2026-07-13 00:55:38 +0000 |
| commit | 4ae19b36b9b63557b38836fcbc25a3bca2b8c428 (patch) | |
| tree | d434048e43c6b0cf7f1860cb35679c84b52e7baa /abellian_sandpile.c | |
| parent | fc935fb2f4a59c7b847421850ee077c873db1458 (diff) | |
Changed to better ASCII characters
Diffstat (limited to 'abellian_sandpile.c')
| -rw-r--r-- | abellian_sandpile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/abellian_sandpile.c b/abellian_sandpile.c index 004a4c7..3117b0d 100644 --- a/abellian_sandpile.c +++ b/abellian_sandpile.c @@ -120,11 +120,11 @@ 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 "1"); // Cell with value 1 + printf(COLOR_WHITE "."); // Cell with value 1 } else if (new_positions[i][j] == 2) { - printf(COLOR_YELLOW "2"); // Cell with value 2 + printf(COLOR_YELLOW "o"); // Cell with value 2 } else if (new_positions[i][j] == 3) { - printf(COLOR_ORANGE "3"); // Cell with value 3 + printf(COLOR_ORANGE "0"); // Cell with value 3 } else if (new_positions[i][j] >= 4) { printf(COLOR_RED "4"); // Cell with value 4 or more } |
