Skip to content

This is a simple implementation of the classic snake game in rust

License

Notifications You must be signed in to change notification settings

phantomion/snake_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My snake game

Looks like this. This is with Roboto Mono Nerd Font. If you use a different font it may look different or distorted.

snake_game_image

Install rust

In order to play this you gotta have rust installed in your system. You can do that with sudo pacman -S rustup (or any other package manager) and then rustup update stable.

Run snake_game

Simply cargo run to run this or cargo install --path . to install it.

Keybindings

w,a,s,d like any game ever or h,j,k,l for vim users.qq to quit at any time. Space to pause/start.

Width and height

You can change the width and height of the game with -h and -w options(e.g. -h 20 -w 30).

About

This is a simple implementation of the classic snake game in rust

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages