Skip to content

trungit2001/guessing-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Guessing game

My first project was written in the Rust programming language

Table of Contents

Installation

To run this project, Rust must be installed first (follow Installation Rust). Then, run code below to build and run

$ cargo build
$ cargo run

Or just download the compiled program from here guessing-game-v0.1.0-apha and run it

$ ./guessing-game-v0.1.0-alpha

Have fun 😊

Usage

This is an easy game, you just need to guess a number and see the results from the program. If the program prompts Too small!, you should bet on a higher number, whereas when the program prompts Too big!, you should guess a smaller number. The program will prompt You win! when you guess the secret number correctly 🥳

License

This project was reimplement by me according to Chapter 2 in The Rust Book

About

Guessing game in Rust

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages