Change length of line to SIZE*2
parent
f25cd3ca01
commit
e9e503d5b2
|
@ -84,7 +84,7 @@ int main(int argc, char **argv)
|
||||||
*screenGetPoint(screen, food.x, food.y) = '@';
|
*screenGetPoint(screen, food.x, food.y) = '@';
|
||||||
resetCoordinates();
|
resetCoordinates();
|
||||||
screenShow(screen);
|
screenShow(screen);
|
||||||
for (i = 0; i < 20; ++i) putchar('-');
|
for (i = 0; i < SIZE*2; ++i) putchar('-');
|
||||||
printf("\nScore: %d\n", player->score);
|
printf("\nScore: %d\n", player->score);
|
||||||
|
|
||||||
thrd_sleep(&(struct timespec){.tv_sec=1}, NULL);
|
thrd_sleep(&(struct timespec){.tv_sec=1}, NULL);
|
||||||
|
|
Loading…
Reference in New Issue