Нет описания

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