Skip to content

Customizable hangman terminal game with player vs. player or player vs. robot featuresets.

Notifications You must be signed in to change notification settings

johnlorenzini/basicHangMan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Customizable hangman terminal game with player vs. player or player vs. robot featuresets.

Project was used to better understand and familiarize myself with standard Python scripting after self-study this summer, as well as learning about and working with new libraries in bs4, urllib & requests (Web scraping).

Two routes of functionality:

  1. Player Versus Player: Guesser can set their username & the amount of tries they'd like to have in guessing the secret word. Wordmaker can set their username & specify the secret word.

  2. Player Versus "Robot": Guesser can set their username & the amount of tries they'd like to have in guessing the secret word. "The Robot" picks a random word from the MIT 10,000 word list website & attempts to find a matching definition from vocabulary.com. If found, it offers the user the ability to use a "hint" by sacrificing half their "tries" at any time.

To revisit & revise:

  • Sometimes "hint" definitions scraped from website includes the secret word, so I'd like to implement a simple check for these cases and replace with *'s
  • Rewrite the program utilizing proper object-oriented etiquette (Classes, constructor methods etc)
  • Implement the "hint" system for Player Versus Player, allowing the Wordmaker to either set their own hint or automatically search for a definition.

End goal:

  • Rewrite the program using tkinter libraries to deliver an interactive graphic experience rather than utilizing the terminal.

About

Customizable hangman terminal game with player vs. player or player vs. robot featuresets.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages