Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Choose either the basic OR challenge project. Base points for the project is 2 5 . Each will have bonus points which are scored similar

Choose either the basic OR challenge project.
Base points for the project is 25. Each will have bonus points which are scored similar to
extra credit, so the assignment shows up in Canvas as 25 points.
These are variations of classic games and not the same as code you might see on the
internet.
General rules for both options:
Start with your code from the Working with a JSON file in Module 9 that selects a random
word from the JSON file, list_of_words.json. All the words in that file have 5 letters.
You must use and read in JSON file provided. Do not just select words and paste them in your
code. You can temporarily use a particular word to test your code, but remove it before
submitting.
1. Make a game that has a GUI made with tkinter. You must use tkinter (do not use other
GUI packages).(If you are familiar with the ttk within tkinter you can use those widgets)
2. You must have enough comments to show your understanding of the code. You dont
have to comment every line, but it should end up being close to it.
3. You can look online for code to reference if you think that it would help you, but do not
cut and paste the code. Do not use others comments, make sure you understand the
code.
4. Do not load any packages such as PIL. Do not use AI.
5. You may ask other students questions in the discussion board
6. Submit your .py file by May 21, Submit earlier if you would like feedback. No
assignments are accepted after May 24.
Basic option:
Hangman game variation
The examples shown are for the word ALPHA
a. Display underscores or boxes to represent each letter __________
b. The player guesses a letter one at a time
c. If the letter is in the word it gets displayed. ____ P ____
d. If the letter is in multiple places, all are displayed A __ P __ A
e. You should limit the number of guesses
Let the player know how many guesses they have left
Do NOT show the hangman from the traditional game
f. You should show the player what letters they have guessed
A P
g. If the player guesses the word within the limit of guesses they win
h. Display a message saying that they have won.
For 25 points:
1. Code the game with a combination of graphical output and print statements as
shown in the video.
2. The user entry needs to be via a text box or entry box.
3. There needs to be an exit button to exit the game.
For 40 points: (25 points +15Bonus points
1. Everything the user inputs or sees is via the graphical user interface.
Including the gameboard and responses. (Do not print anything to the
console)
2. You may use message boxes for messages to the user or output them to the
window.
Challenge Option:
Wordle game variation (for 50 points, 25 points +25Bonus points)
a) The player enters a word each letter goes in a grey box A P P L E
b) If the letter is correct and in the right place it turns green A P P L E
c) If there is a letter that is correct but in the wrong place it turns yellow
d) If there is a letter that has been used but is not used again it turns red
e) The player only has 6 guesses to guess the word.
f) Capitalize all letters regardless of input
g) Limit the users word to 5 letters: You can have them re-enter, only take the first 5
Or come up with some other way.
h) If they guess the word within 6 guesses they win
i) Give your player the option to play again
j) Display a message that they have won
k) All Inputs and outputs should appear in a window.
l) You may use pop-up windows
m) Give the user an exit button or some other way to quit. Destroy any windows before
exiting.Do NOT show the hangman from the traditional game
f. You should show the player what letters they have guessed
A P
g. If the player guesses the word within the limit of guesses they win
h. Display a message saying that they have won.
For 25 points:
1. Code the game with a combination of graphical output and print statements as
shown in the video.
2. The user entry needs to be via a text box or entry box.
3. There needs to be an exit button to exit the game.
For 40 points: (25 points +15Bonus points
1. Everything the user inputs or sees is via the graphical user interface.
Including the gameboard and responses. (Do not print anything to the
console)
2. You may use message boxes for messages to the user or output them to the
window.
Challenge Option:
Wordle game variation (for 50 points, 25 points +25Bonus points)
a) The player enters a word each letter goes in a grey box A P P L E
b) If the letter is correct and in the right place it turns green A P P L E
c) If there is a letter that is correct but in the wrong place it turns yellow
d) If there is a letter that has been used but is not used again it turns red
e) The player only has 6 guesses to guess the word.
f) Capitalize all letters regardless of input
g) Limit the users word to 5 letters: You can have them re-enter, only take the first 5
Or come up with some other way.
h) I
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions