| Crates.io | snake-tui |
| lib.rs | snake-tui |
| version | 0.2.2 |
| created_at | 2025-02-09 22:56:34.649342+00 |
| updated_at | 2025-02-23 20:09:34.260946+00 |
| description | A cross platform snake game running in the terminal |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1549369 |
| size | 28,244 |
A terminal-based Snake game implemented in Rust. This project features a simple and interactive user interface using a terminal TUI (Text User Interface), allowing you to play the classic Snake game directly in your terminal.
You can install it via cargo from crates.io or build it from source.
You can easily install the Snake Terminal UI directly using cargo by running the following command:
cargo install snake-tui
This will download and install the latest version of the game from crates.io.
To build the project from source, follow these steps:
git clone https://github.com/RiccardoSegala04/snake-tui.git
cd snake-tui
cargo build --release
cargo run
This will compile the code and start the game in your terminal.
After installation or building from source, you can start the game by simply running:
snake-tui
Control the snake using the arrow keys and try to eat the food to grow the snake longer. The game ends when the snake collides with itself.