Нема описа

Aaro Saila 78757a973f Merge branch 'rework' of https://git.aarosaila.dy.fi/aaro/sanke into rework пре 8 месеци
src f93ea56076 added null checks after allocations пре 8 месеци
.gitignore 8b8160dcd7 added commandline arguments and deleted target пре 1 година
README.md 883aa91224 Removed outdated information. пре 10 месеци
compile.sh 57d2aba783 Changed version number to git hash пре 1 година

README.md

Sanke

A simple snake game in the terminal. No third party libraries needed.

Demo

Click image for video

Sanke demo

How it works

The program makes the terminal use non-canonical input and output by using termios. Then it updates and prints a 2D character array containing the board borders, snake, and food. Before terminating, the program restores canonical mode.

Info

Only tested with the combination of

  • GCC
  • Linux
  • x86 CPU