GNU/Linux ◆ xterm-256color ◆ zsh 130 views

https://github.com/magnetrwn/some-ncurses-snakes

A collection of implementations of Snake in different programming languages, using ncurses.

Specifically, this is the C version of this snake game. I think this implementation is using a more efficient algorithm than the usual list of snake node coordinates, by storing only the points on which the snake turns and the length, but I may be wrong about this? :smile:

Next up, C++, Go and Rust!