Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 530 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 530 Bytes

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