Question: 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 Each will have bonus points which are scored similar to
extra credit, so the assignment shows up in Canvas as 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 that selects a random
word from the JSON file, listofwords.json All the words in that file have 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.
Make a game that has a GUI made with tkinter. You must use tkinter do not use other
GUI packagesIf you are familiar with the ttk within tkinter you can use those widgets
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
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.
Do not load any packages such as PIL. Do not use AI
You may ask other students questions in the discussion board
Submit your py file by May Submit earlier if you would like feedback. No
assignments are accepted after May
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 points:
Code the game with a combination of graphical output and print statements as
shown in the video.
The user entry needs to be via a text box or entry box.
There needs to be an exit button to exit the game.
For points: points Bonus points
Everything the user inputs or sees is via the graphical user interface.
Including the gameboard and responses. Do not print anything to the
console
You may use message boxes for messages to the user or output them to the
window.
Challenge Option:
Wordle game variation for points, points Bonus 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 guesses to guess the word.
f Capitalize all letters regardless of input
g Limit the users word to letters: You can have them reenter, only take the first
Or come up with some other way.
h If they guess the word within 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 popup 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 points:
Code the game with a combination of graphical output and print statements as
shown in the video.
The user entry needs to be via a text box or entry box.
There needs to be an exit button to exit the game.
For points: points Bonus points
Everything the user inputs or sees is via the graphical user interface.
Including the gameboard and responses. Do not print anything to the
console
You may use message boxes for messages to the user or output them to the
window.
Challenge Option:
Wordle game variation for points, points Bonus 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 guesses to guess the word.
f Capitalize all letters regardless of input
g Limit the users word to letters: You can have them reenter, only take the first
Or come up with some other way.
h I
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
