From f758f9a3e8e1bec786673bd91692d66c71009522 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Stach?= Date: Tue, 29 Jul 2025 14:28:00 +0200 Subject: [PATCH] v0.0.3 --- snake.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/snake.c b/snake.c index e09251c..2eb4c30 100644 --- a/snake.c +++ b/snake.c @@ -35,13 +35,13 @@ void draw() { clear(); // Clear the screen for (int i = 0; i < WIDTH + 2; i++) - printw("-"); + printw("#"); printw("\n"); for (int i = 0; i < HEIGHT; i++) { for (int j = 0; j < WIDTH; j++) { if (j == 0) - printw("|"); // Left wall + printw("#"); // Left wall if (i == food.y && j == food.x) printw("*"); // Food else { @@ -56,13 +56,13 @@ void draw() { printw(" "); } if (j == WIDTH - 1) - printw("|"); // Right wall + printw("#"); // Right wall } printw("\n"); } for (int i = 0; i < WIDTH + 2; i++) - printw("-"); + printw("#"); printw("\n"); refresh(); // Refresh the screen to show changes }