phantomion / snake_game

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:Rust 100.0%