Skip to content

Latest commit

 

History

History
38 lines (20 loc) · 865 Bytes

README.md

File metadata and controls

38 lines (20 loc) · 865 Bytes

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
  • coord: contains the Coord struct that represents a 2D coordinate

Contributing

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