Skip to content

koallen/hjkl-snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HJKL Snake

A terminal snake game with vim's HJKL key bindings. Written purely in C with the ncurses library.

Screenshot

hjkl snake screenshot

Installation

First, install the dependency (macOS has the dependency pre-installed)

$ sudo apt-get install libncurses5-dev # on Debian/Ubuntu

Next, install the game

$ git clone https://github.com/koallen/hjkl-snake.git
$ cd hjkl-snake
$ make

Running

After compilation, you can run the game with

$ ./snake

About

A terminal snake game with HJKL key bindings

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published