Skip to content

notexactlyawe/rust-hangman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Hangman

Classic hangman game written to learn Rust.

Rules of Hangman

  • Game randomly selects a word
  • User inputs a character
  • If the character is in the word, the user is shown where and offered the chance to guess again
  • This continues until either the user guesses every character in the word or they run out of guesses

Word Selection

The word to guess will be selected randomly from a modified version of this gist.

TODO

  • If a user inputs a word, it shouldn't treat the first character of that word as a guess
  • Add tests

About

Hangman written in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages