games-in-rust 0.2.1

A collection of games written in Rust
games-in-rust-0.2.1 is not a library.

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!