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 %!s(int64=4) %!d(string=hai) anos
.gitignore dc50184270 optimized drawing of player and balls, fixing flickering on some terminals %!s(int64=4) %!d(string=hai) anos
LICENSE.txt 7a4a9794b4 made good use of git's capabilities by commiting everything at once %!s(int64=5) %!d(string=hai) anos
Makefile f0011a1359 add game end screen, lay down base for highscore list %!s(int64=4) %!d(string=hai) anos
README.md f8c92fbd75 bump copyright year %!s(int64=4) %!d(string=hai) anos
ball.c 82e19e075c made yellow ball actually faster than blue ball %!s(int64=4) %!d(string=hai) anos
ball.h 7a4a9794b4 made good use of git's capabilities by commiting everything at once %!s(int64=5) %!d(string=hai) anos
endscreen.c f0011a1359 add game end screen, lay down base for highscore list %!s(int64=4) %!d(string=hai) anos
endscreen.h f0011a1359 add game end screen, lay down base for highscore list %!s(int64=4) %!d(string=hai) anos
field.c f0011a1359 add game end screen, lay down base for highscore list %!s(int64=4) %!d(string=hai) anos
field.h dc50184270 optimized drawing of player and balls, fixing flickering on some terminals %!s(int64=4) %!d(string=hai) anos
game.c f0011a1359 add game end screen, lay down base for highscore list %!s(int64=4) %!d(string=hai) anos
game.h dc50184270 optimized drawing of player and balls, fixing flickering on some terminals %!s(int64=4) %!d(string=hai) anos
main.c f0011a1359 add game end screen, lay down base for highscore list %!s(int64=4) %!d(string=hai) anos
player.c beb46efaea fixed some bugs %!s(int64=4) %!d(string=hai) anos
player.h 7a4a9794b4 made good use of git's capabilities by commiting everything at once %!s(int64=5) %!d(string=hai) anos

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