Skip to content

a "snake" clone written in 200~ sloc of ANSI C

Notifications You must be signed in to change notification settings

darltrash/snake.c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

snake.c: a "snake" clone written in 200~ sloc of ANSI C

Motivations:
    This started as just an in-joke between friends and
    a little challenge I decided to put on myself, and it
    was pretty horrid.

    X11 is horrible and I hope it slowly stops existing.

How to play:
    Use your arrow keys to move your "snake" to the red 
    blocks, which will also make your "snake" grow in size.

    If your snake hits the border or itself, game over.

How to build:
    - You'll need a functional Linux machine or similar
    - Get the X11 libraries
    - Get GCC (for output binaries) or change the 
        makefile as you please
    - Clone the repo
    - Run "make".

About

a "snake" clone written in 200~ sloc of ANSI C

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published