Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 618 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 618 Bytes

Snake

This is an implementation of the classic game 'snake' using ncurses for the linux terminal

Compilation

Enter repository directory and run

make

Instructions

Run program with

snake [-c color] [-s speed] [-w]

Controls

Control the snake with the arrow keys

p - pause game

Runtime options

-c : change color of snake

-s : choose speed value between 0-10 (default 5)

-w : Allow wrapping, snake will warp to opposite wall on collision

Screenshot

snake