Skip to content
/ snake Public

A minimal rust implementation of the snake game.

Notifications You must be signed in to change notification settings

Keksoj/snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake

A minimal rust implementation of the snake game. Rendering is done in the terminal with Termion.

▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒
░                                                    ░
░                                                    ░
░                                                    ░
░                                                    ░
░                                                    ░
░                      ╔════╗                        ░
░                      ║    ║                        ░
░                      ║    ║                        ░
░                      ║    ║                        ░
░                      ║    ║                        ░
░                      ║    ║                        ░
░                      ║    ║                        ░
░                      ║    ║                        ░
░                      ×    ║                        ░
░                           ║                        ░
░                           ╚════>           X       ░
░                                                    ░
░                                                    ░
░                                                    ░
░                                                    ░
▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒

Your score: 29

In the terminal the lines aren't interrupted though.

Make it run

Be sure to install Rust first. Learn it then. Best documentation I've ever read.

Clone the reposirory, go to its directory, run with cargo.

git clone https://github.com/Keksoj/snake.git
cd snake
cargo run

Enjoy it, copy it, improve it.

About

A minimal rust implementation of the snake game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages