forked from nakidai/csnake
1
0
Fork 0

Change length of line to SIZE*2

configure
Nakidai 2023-10-30 15:52:25 +03:00
parent f25cd3ca01
commit e9e503d5b2
Signed by untrusted user who does not match committer: nakidai
GPG Key ID: 914675D395210A97
1 changed files with 1 additions and 1 deletions

View File

@ -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);