Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 1.59 KB

README.md

File metadata and controls

46 lines (28 loc) · 1.59 KB

Rust Snake Game

A simple Snake game implemented in Rust with a graphical user interface.

Game

Snake beginning Snake during Snake final Snake gameplay

Dependencies

This project uses the following third-party crates:

Installation

To install Rust, follow the instructions provided on the official website.

To build and run the Snake game, clone this repository and run the following command in the root directory:

cargo run

Gameplay

Once you run the program, the game will start automatically. The objective of the game is to control the snake by moving it around the screen and collecting food items. As the snake eats more food, it grows in length, making the game more challenging. If the snake collides with itself or the edges of the screen, the game ends.

Assets

The only asset used in this project is the font "FiraSans-Regular.ttf", which is available for free on FFonts.net.

Contributions

Contributions to this project are welcome. Please feel free to create a pull request or submit an issue if you have any suggestions or encounter any problems.

License

This project is licensed under the MIT License - see the LICENSE file for details.