Skip to content

abdul2801/snake-tui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game

This is a snake game written in rust for the terminal with greedy algorithm.

How to play

Use the arrow keys to move the snake. The goal is to eat as many apples as possible without hitting the walls or the snake itself.

How to run

To run the game, you need to have rust installed. Then, clone the repository and run the following command in the root directory of the project:

cargo run

How to build

To build the game, you need to have rust installed. Then, clone the repository and run the following command in the root directory of the project:

cargo build --release

The executable will be in the target/release directory.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages