-
A hangman game application where the player will have to guess letters (A-Z) to form the words on the line, If the player will have to gusses the right letter that is within a word. The letter will appear on its correct posistion. The player will then guess the correct world until the man is hung when this appear the game will be done.
-
The image of the live site. ![https://thehanggame.herokuapp.com/]
-
The player of the hangman game will have to input a command into the mock terminal, when they enter a letter into the game which they will have gussed it will infrom the user if the letter they have enterd is the correct letter or word they have gussed. If it is the correct word they will have won the game if it is the incorrect letter or word an error message will then display it self and the user will then be asked to resubmit thier choice again. For the user to play again they run the game again.
-
wireframe (image)
- The game should be easy to play
- The game should be fun for the user to get them to keep coming back
- The game should challenge the player to keep the user intersted in the game
Target Audience
- Player that over the age of 5 and over.
- Players that have a love for spelling.
- Players that want to expand thier vocabulary and spelling.
- Can view lives while playing the game
- the user has a certain amount of lives before the game is over, it can be seen while the player is playing the game, it is also represtend along side the hangman being built at each turn when a life is lost.
- Game will check invalid inputs
-
all the inputs that the player will enter , checks will run to ensure that the is no invalid inputs that have been submitted - all invalid inputs will be followed by a error message letting the player know to try again.
-
Features that i could have done to improve and better the Hangamn Game.
-
Banner
-
Main Menu
-
Login
-
Sign Up
-
Support
- Languages
- Python
- HTML
- Java Script
- The testing which i have done for the hangman game project are :
-
I tested the python code using a PEP8 linter website and then i fixed any erros. (http://pep8online.com/)
-
I tested the game on the terninal and also on the site heroku which i used to deploye the site to see if the worked and did not have any erros.
-
I manually tested the user inputs by entering the wrong data to confrim any error messages.
-
I used the W3C markup validator to check the markup validity.(https://validator.w3.org/nu/?doc=https%3A%2F%2Fthehanggame.herokuapp.com%2F)
-
PEP8 - No errors returned from (http://pep8online.com/checkresult).
-
Deployment
The hangmen game was deployed using GitHub and Heroku by following these steps:
- Create an account at heroku.com
- Create a new app, add app name and your region
- Click on create app
- Go to "Settings"
Under Config Vars, add your sensitive data (the MongoDB URL for example) For this project, set buildpacks to and in that order. Go to "Deploy" and at "Deployment method", click on "Connect to Github" Enter your repository name and click on it. Choose the branch you want to buid your app from, and click "Deploy branch". You can for fork the repository by following these steps:
Go to the GitHub repository Click on Fork button in upper right hand corner You can clone the repository by following these steps:
Go to the GitHub repository Locate the Code button above the list of files and click it Select if you prefere to clone using HTTPS, SSH, or Github CLI and click the copy button to copy the URL to your clipboard Open Git Bash Change the current working directory to the one where you want the cloned directory Type git clone and paste the URL from the clipboard ($ git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY) Press Enter to create your local clone
- Code Institute for the mock terminal for the deploy to a live site.
- code Institute mentors who advised and thier guidance and support on the completion of this project.