A snake game for the command line. Instead of the snake getting longer, the food moves and you have to dodge it.

NetherEran f0011a1359 add game end screen, lay down base for highscore list 3 年之前
.gitignore dc50184270 optimized drawing of player and balls, fixing flickering on some terminals 3 年之前
LICENSE.txt 7a4a9794b4 made good use of git's capabilities by commiting everything at once 4 年之前
Makefile f0011a1359 add game end screen, lay down base for highscore list 3 年之前
README.md f8c92fbd75 bump copyright year 3 年之前
ball.c 82e19e075c made yellow ball actually faster than blue ball 3 年之前
ball.h 7a4a9794b4 made good use of git's capabilities by commiting everything at once 4 年之前
endscreen.c f0011a1359 add game end screen, lay down base for highscore list 3 年之前
endscreen.h f0011a1359 add game end screen, lay down base for highscore list 3 年之前
field.c f0011a1359 add game end screen, lay down base for highscore list 3 年之前
field.h dc50184270 optimized drawing of player and balls, fixing flickering on some terminals 3 年之前
game.c f0011a1359 add game end screen, lay down base for highscore list 3 年之前
game.h dc50184270 optimized drawing of player and balls, fixing flickering on some terminals 3 年之前
main.c f0011a1359 add game end screen, lay down base for highscore list 3 年之前
player.c beb46efaea fixed some bugs 3 年之前
player.h 7a4a9794b4 made good use of git's capabilities by commiting everything at once 4 年之前

README.md

Snek vs Snacc

Copyright (C) NetherEran 2019-2020 GPLv3

A snake game for the command line but instead of the snake getting longer the snack moves.

Compiling

  • install ncurses
  • make

Start with ./snek