Intended to be able to run on any POSIX-compatible systems
- Snake
- Game
- Fun
- Own implementation
- Supports apples
- Supports collisions
- Supports teleporting from one side to another
- Terminal-based
- Terminal is BASED
- No external libraries needed
- Just one file
- ~200 lines
- Handles CTRL-C
There is a CMakeLists.txt but you can compile it with just 1 command:
$ g++ snake.cpp --std=c++11 -o snake
$ ./snake
This project is distributed under MIT License. See more