Skip to content

Simple console version of the game "snake" for Linux only, with scoreboard.

Notifications You must be signed in to change notification settings

jkilopu/mysnake

Repository files navigation

mysnake

Simple console version of the game "snake" for Linux ONLY, with scoreboard.

Gameplay

Use w, a, s, d to change to direction of the snake, it will move automatically.

By eating food, your snake will grow, and you will score ten points.

When your snake hit the wall or its body. the game is over.

Try different user names, you can see your real-time ranking on the scoreboard.

Help your snake grow longer and longer, your score will be recorded in scoreboard.txt.

Requirements

  • C/C++ compiler
  • ncurses library
  • cmake
  • make

Installation

git clone https://github.com/jkilopu/mysnake.git
cd ./mysnake
mkdir build && cd build
cmake .. # You may need to specify a build system generator with "-G" option
make
cd ..
./build/bin/mysnake

About

Simple console version of the game "snake" for Linux only, with scoreboard.

Resources

Stars

Watchers

Forks

Packages

No packages published