Skip to content

Shorotshishir/GuessMe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GuessMe

A simple number guessing game implemented in Rust.

Description

GuessMe is a command-line game where players try to guess a randomly generated number. This game is described in the Official Rust Programming Book as a command line game. This project adds a Ui to the game. slint is used for the project.

Getting Started

Prerequisites

  • Rust (latest stable version)
  • Cargo

Installation

  1. Clone the repository:
git clone https://github.com/Shorotshishir/GuessMe.git
cd GuessMe
  1. Build the project:
cargo build

Running the Game

cargo run

How to Play

  • The game generates a random number between 0 and 100.
  • Enter your guess and receive feedback.
  • Continue until you guess correctly.

UI

This project uses Slint for its graphical user interface.

Slint Setup

  • Ensure you have the required Slint dependencies installed. Check the Slint documentation for details.
  • The UI is integrated with the game logic. Building the project via Cargo will compile the Slint UI components.

Contributing

Feel free to fork the repository and submit pull requests.

License

This project is licensed under the MIT License.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published