mirror of
https://github.com/begilbert-sys/2048-in-C
synced 2024-12-24 21:58:17 +01:00
Update main.c
This commit is contained in:
parent
59be269502
commit
82a97d131c
1 changed files with 5 additions and 1 deletions
6
main.c
6
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(" ");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue