From 82a97d131cd5148a1d86cf2024152690d4b4d0c2 Mon Sep 17 00:00:00 2001 From: begilbert-sys Date: Tue, 16 Jan 2024 23:31:36 -0800 Subject: [PATCH] Update main.c --- main.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index 28b6b06..6d611bf 100644 --- a/main.c +++ b/main.c @@ -119,7 +119,11 @@ void display_board() { move(i * 4 + 2, j * 8 + 1); addstr(" "); move(i * 4 + 3, j * 8 + 1); - _addstr_centered(tile_value); + if (tile_value == BLANK) { + addstr(" "); + } else { + _addstr_centered(tile_value); + } move(i * 4 + 4, j * 8 + 1); addstr(" "); }