Rust Guessing Game

This is a simple guessing game, taken from the book "The Rust Programming Language" Installing

This is a simple guessing game, taken from the book "The Rust Programming Language" https://doc.rust-lang.org/book/title-page.html, to learn the language trying and practicing common Rust concepts.

is a command line game. The program generates a random integer between 1 and 100. It will ask the player to guess. Then the program will indicate whether the guess is too low or tool high. If the guess is correct, the game will print a congratulations message and exit.

Prerequisites

Before you begin, follow the Rust installation guide from https://doc.rust-lang.org/book/ch01-01-installation.html.

Installing

To install clone the project repo:

HTTPS:

https://github.com/CMIW/Rust-Guessing-Game.git

SSH:

git@github.com:CMIW/Rust-Guessing-Game.git

GitHub CLI:

gh repo clone CMIW/Rust-Guessing-Game

Using

To use , follow these steps:

  • In a terminal move to the project folder named "Rust-Guessing-Game"

  • Run the following command

cargo run
  • Enjoy the game.

Information - Updated Nov 03, 2021

Stars: 0
Forks: 0
Issues: 0
Cargo

1.2K

Once installed, the following command prints out the result of macro expansion

and #[derive] expansion applied to the current crate

Once installed, the following command prints out the result of macro expansion

Once installed, the following command prints out the result of macro expansion

and #[derive] expansion applied to the current crate

Once installed, the following command prints out the result of macro expansion
JSON

1.1K

Monorepo for dprint—a pluggable and configurable code formatting platform

This project is under active early development

Monorepo for dprint—a pluggable and configurable code formatting platform

A simple and minimal error logging library

Errox is a minimal error logging library to log Err return types and print them to stderr, with an optional timestamp

A simple and minimal error logging library

warp-api-starter-template

This is a starting point for a starter template, this is far from usable from a starter template perspective

warp-api-starter-template

Compare IEEE floating point primitives, structs and collections for equality

This crate provides an API with a focus on making the choices of comparison

Compare IEEE floating point primitives, structs and collections for equality

Create a ALB in AWS

Make it point to a lambda called rust-web (needed by deploy

Create a ALB in AWS

reelpath is a CLI application that prints the absolute path for a given file or...

Please file an cargo to install the cargo-update

reelpath is a CLI application that prints the absolute path for a given file or...

Rust bindings for the KING OF TIME API

Prints if you are at work or not at work

Rust bindings for the KING OF TIME API
CLI

326

Print a list of paths as a tree of paths

This tool is particularly useful when used with find or fd to produce such

Print a list of paths as a tree of paths

A Rust library for parsing Smash Ultimate XMB files

The binary application prints an XMB file to the console in JSON format

A Rust library for parsing Smash Ultimate XMB files

A Rust library for working with point cloud data

Fine-grained support for arbitrary point attributes, similar to las

A Rust library for working with point cloud data
Facebook Instagram Twitter GitHub Dribbble
Privacy