games-in-rust

Crates.iogames-in-rust
lib.rsgames-in-rust
version0.2.1
sourcesrc
created_at2024-11-16 09:39:21.229033
updated_at2024-11-17 12:54:02.70154
descriptionA collection of games written in Rust
homepagehttps://github.com/avcode-exe/Games-in-Rust
repositoryhttps://github.com/avcode-exe/Games-in-Rust
max_upload_size
id1450263
size63,695
Tom (avcode-exe)

documentation

README

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!
Commit count: 27

cargo fmt