Skip to content

WilliamSampaio/ASCIINAKE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.