Skip to content

Latest commit

 

History

History
28 lines (25 loc) · 686 Bytes

README.md

File metadata and controls

28 lines (25 loc) · 686 Bytes

My very snake game

Intended to be able to run on any POSIX-compatible systems

asciicast

Features

  • 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

Compiling

There is a CMakeLists.txt but you can compile it with just 1 command:

$ g++ snake.cpp --std=c++11 -o snake
$ ./snake

LICENSE

This project is distributed under MIT License. See more