mirror of
https://github.com/begilbert-sys/2048-in-C
synced 2024-12-25 21:58:33 +01:00
Update main.c
This commit is contained in:
parent
59be269502
commit
82a97d131c
1 changed files with 5 additions and 1 deletions
4
main.c
4
main.c
|
@ -119,7 +119,11 @@ void display_board() {
|
|||
move(i * 4 + 2, j * 8 + 1);
|
||||
addstr(" ");
|
||||
move(i * 4 + 3, j * 8 + 1);
|
||||
if (tile_value == BLANK) {
|
||||
addstr(" ");
|
||||
} else {
|
||||
_addstr_centered(tile_value);
|
||||
}
|
||||
move(i * 4 + 4, j * 8 + 1);
|
||||
addstr(" ");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue