It is a game of hangman about Marvel Heroes and DC Heroes that you play against the computer.
If you can guess the right heroes/villains with one letter before you run out of guesses, you win,
In the event that you lose, you can try again if you are victorious against the computer
A computer, the "host," creates/generate a secret word,
Then YOU try to guess the word by asking what letters are in it.
Every wrong guess, however, puts them one step closer to losing and
Each right guess brings them closer to winning
You win if all your guesses are correct
- Choose category
- You can Choose 2 different category
- Computer generate different Hero/villain
- Show how many chance you have left
- Every guessed letter show how many chances you have left
- Tell you if you have guessed right or wrong
- How many you had from the beginning
- The Result
- Tell if you have already guess same letter
- Tell you what word you have get at the end
- Tell if you win or lose and the secret word
- More category to choose between
- Build in score board that shows how many times you or computer win
- Picture of hangman with detail of when you guess wrong letter
- Tested the code through PEP8 without any problem
- tested the game on Heroku terminal and it working fine
- I confirmed the games were easy to understand and play
- Tested that you must write letter to Work
- Took a while to realise that made the container with() instead of []
- But after google and searching figured out and change the () to [] and everything worked.
No Unfixed Bugs
- This site was published through GitHub pages. To promote the site, follow these steps:
- In the GitHub repository, navigate to the Settings tab
- From the source section drop-down menu, select the Main Branch
- Project through heroku terminal
- Go to Heroku.com and log in
- Create App and give it a name
- Go to Settings and go to Config Vars and set KEY:port and Value:8000 and ADD
- add buildpack first Heroku/python and then Heroku/nodejs
- then go to Deploy and choose deployment method and choose github
- app connected and Choose your repository and Connect
- Go down to Manual deploy and klick Deploy Branch
- klick view!!
Here is the link Guessing Game
Contents
- How to create function, import and tutorial from youtube for hang hangman here
- Taken some code from icomag.com and rewrite it!
- Taken som ideer from mardiyyah.medium.com
- Code instuites Template
- Data model model