5 releases
0.2.1 | Nov 17, 2024 |
---|---|
0.2.0 | Nov 17, 2024 |
0.1.2 | Nov 16, 2024 |
0.1.1 | Nov 16, 2024 |
0.1.0 | Nov 16, 2024 |
#30 in Games
221 downloads per month
47KB
572 lines
Games-in-Rust
This project contains various games implemented in Rust. Currently, it includes a maze game.
Maze Game
The maze game generates a random maze and allows the player to navigate through it using the arrow keys.
Minesweeper
The minesweeper game generates a random board and the player need to flag and reveal each cells using the arrow keys.
Snake game
The snake game is a simple game where the player controls a snake and tries to eat the food. The snake grows longer as it eats the food.
How to Run
- Ensure you have Rust installed. If not, you can install it from rust-lang.org.
- Build dependencies:
sudo apt install libncurses5-dev libncursesw5-dev
- Clone the repository:
git clone https://github.com/avcode-exe/Games-in-Rust.git
- Build and run the project:
cargo run --release
- Enjoy!
Dependencies
~340–760KB
~16K SLoC