Skip to content
/ snake Public

A simple GUI rust snake game to be submitted to college board for the AP test

License

Notifications You must be signed in to change notification settings

bsikar/snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A simple GUI rust snake game to be submitted to college board for the AP test

Resources

License

Stars

Watchers

Forks

Packages

No packages published