pvjc26/a3/program.c
2026-05-08 14:16:31 +02:00

17 lines
335 B
C

#include <stdio.h>
#include <unistd.h>
#include "game.h"
int main() {
printf("Starting Snake Game...\n");
printf("Use arrow keys to move the snake.\n");
printf("Press 'q' to quit.\n");
printf("Eat all food (*) to win!\n\n");
sleep(2);
run_game();
printf("Thanks for playing!\n");
return 0;
}