WilliamSampaio / ASCIINAKE

Snake game created with C++ and ncurses.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ASCIINAKE 🐍

Build

g++ -Wall -Werror src/*.cpp -o asciinake -lncursesw -ltinfo

Or

chmod +x build.bash && ./build.bash

Play/Install

chmod +x install.bash && sudo ./install.bash
source ~/.zshrc # or .bashrc
asciinake # to play!

Controls

  • ⬆️ UP ARROW: To move snake up.
  • ⬇️ DOWN ARROW: To move snake down.
  • ⬅️ LEFT ARROW: To move snake left.
  • ➡️ RIGHT ARROW: To move snake right.
  • ⏸️ P: To pause.
  • 🔃 R: When the game is over or completed.
  • ESC: To leave the game at any time.

About

Snake game created with C++ and ncurses.


Languages

Language:C++ 98.9%Language:Shell 1.1%