summaryrefslogtreecommitdiff
path: root/abellian_sandpile.c
diff options
context:
space:
mode:
Diffstat (limited to 'abellian_sandpile.c')
-rw-r--r--abellian_sandpile.c6
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
}