A minimalist, terminal-based Snake game in Rust, leveraging the ratatui
crate for the user interface and designed with MVC architecture. Originally an easter egg within another TUI project's loading page, this game provides a nostalgic Snake gameplay directly in your terminal.
- Movement: Control the snake using the directional arrows or Vim bindings (
k
,j
,h
,l
). - Pause/Unpause: Toggle game pause with the spacebar.
- Boost Mode: Accelerate the snake's movement by pressing
b
.
- Rust and Cargo installed on your system.
Clone the repository and run the game using Cargo:
git clone https://github.com/jacksonbrim/snake-game-tui.git
cd terminal-snake-game
cargo run
- Arrow keys or
k
,j
,h
,l
for navigation. - Spacebar to pause/unpause the game.
b
to activate boost mode.
This project is licensed under the MIT License - see the LICENSE file for details.