Programming Homework Help

Programming Homework Help. Build a hangman game in Python

Requirements:

  • The game should choose a random word or phrase from a collection of words.
  • On the first turn, show the user how many letters are in that word.
  • Allow the user to guess a letter.
  • If the user gets a letter that is in the answer, reveal the location(s) of that letter in the chosen word.
  • If the user gets a letter wrong, then they should have a body part of the hangman added.
    • You can do this using ASCII Art.
  • Ask the user for a new letter until either
    • the word is guessed correctly.
    • the user has drawn the entire body.
  • You should have at least 20 words in the dictionary.
  • User experience (15 points): Does your program tell the user how to play the game? Does the game take in user(s) input in some fashion? Does the game let the user(s) know their status as they progress through the game? Does it tell the user(s) when they’ve won a game?
  • Completeness (20 points): Is it possible to play a complete game from start to finish without running into errors? Can the game be replayed without restarting your program?
  • Technical Challenge (15 points): Your game should include at least two useful loops, two functions and should practice common. Does your code contain clean coding practices and passing a linter program like pylint?
  • Extra features (up to 30 points) Each of the following features in your game will grant you an extra 10 points on this assignment.
    • A leaderboard
      • The leaderboard should be saved across multiple uses of your game. The leaderboard may contain the player name’s with the most wins, or the player with the fastest wins (measured in turns or time, your choice). You should save your leaderboard to a file so that it can be used across multiple runs of your program
    • Practice Object-Oriented Programming
      • Add classes to separate what different components of your game should do. Write methods that make sense for your class. If you want to challenge yourself, try to make none of your methods longer than 10 lines to practice refactoring.
    • An Artificial Intelligence opponent
      • An AI opponent to play the game against. The AI should be somewhat competent at playing the game and should be able to play regardless of the game’s circumstances.
      • The user running the program should be able to choose to play against an AI or a human at the beginning.
    • Graphics (using pygame)
      • Use the pygame module to create graphics for your game!

Programming Homework Help

 
"Our Prices Start at $11.99. As Our First Client, Use Coupon Code GET15 to claim 15% Discount This Month!!"