kriskw1999 / ratatui-snake

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ratatui Snake

Preview

rataui-snake-no-audio.mp4

Description

This is a simple snake game made designed using Ratatui as TUI library and Rust as programming language.

How to play

Download the binary from here

Or you can install from the AUR: paru -S ratatui-snake

How to run locally

cargo run

Structure

The project is divided in 3 main modules:

  • game: Contains the game logic
  • main: Contains the TUI rendering logic and the main loop
  • collision_detection: is an external lib that contains the collision detection logic

Contributing

Feel free to open an issue or a PR if you want to contribute to this project. Any help is strongly appreciated.

About

License:GNU General Public License v3.0


Languages

Language:Rust 100.0%