Crate guessing_utils

Source
Expand description

§Guessing utilities

This crate is ideal for writing programs for guessing numbers in range (0..101). It provides a handful of utilities made for various cases.

Modules§

err
Custom-written error handling.

Structs§

Guess
Used for creating a guess. This is a good alternative to storing a guessed number, which is much safer and comfortable to use compared to a primitive number.

Functions§

gen_random
Generates a Guess object together with a randomly generated number in (0..101) range put inside the object.