Skip to content

Kenshiin13/C-Snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

image

image

Run: gcc snake.c -o snake

CLI Arguments: snake inputStream outputStream levelFile

To stick to the stdin and stdout streams but change the level file you may use "-" to pass an empty argument.

snake - - level/2.txt <- Runs the second level file in the stdin and stdout streams.

You may construct your own level files as you please.

O: Snake head start position

X: Wall

1-9: Food by growth rate

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published