Hangman
- 4 Devlogs
- 6 Total hours
A game, where the user has to guess a letter in a word in five letters. The user can also guess part of the word or the whole word. The user cannot repeat letters when guessing.
A game, where the user has to guess a letter in a word in five letters. The user can also guess part of the word or the whole word. The user cannot repeat letters when guessing.
I made my keyboard more functional. Now if you click on a letter that isn’t in the chosen word, an extra line gets drawn. Before the player choses a letter, the structure is already drawn. The structure is the frame where the man hangs onto. Next time, I want to show the correct letter, if the player choses a correct letter. I also have no idea why 2h are logged, because today I coded for 1h.
Today, I made my keyboard functional. But now it only hows wich are correct and which aren’t. I still need to add what happens after clicking a button. I also added lines for each letter of the word, so that you could see how many letter the word has. The box on the left side is the place where the hanging man comes, if you make any mistakes. The next time I want to make everything functional. Because now nothing works together yet.
I started working on a website version of my Hangman game. It was originally made to be played in a terminal. I firstly did some research about HTML, CSS and js, because i’m not experienced in it. I then made a beginning of my keyboard. My plan is to also make that classic Hangman drawing. Where it begins with the head and everytime you guess a letter wrong, you get an extra line fo the drawing. I also want to make something so that you can see where your correct guesses are in the word. Also, thanks to everyone who rated my last ship and gave my advice on how to improve. It was really helpful!
This is my first and only devlog of this project because it is a small beginner project. I started with adding the main parts(chosing the word, printing the rules, while-loop). I later added extra stuff like checking if the input is correct or printing already used letters. I’m quite new with Hack Club and coding, so any feedback is appreciated:)