View Code? Open in Web Editor
NEW
A game of hangman for the web.
Home Page: https://amcnulty.github.io/Hangman-Game/
CSS 30.25%
JavaScript 57.94%
HTML 11.81%
hangman-game's Introduction
- ๐ญ Iโm currently working on Spirelands.
- ๐ฑ Iโm currently learning about the Salesforce ecosystem.
- ๐ฏ Iโm looking to collaborate on web projects, android apps, video game development.
- ๐ค Iโm looking for help with art for Spirelands.
- ๐ฌ Ask me about the video game I'm developing.
- ๐ซ How to reach me: Aaron Michael's Portfolio
- โก Fun fact: I can tell you what day of the week you were born on!
hangman-game's People
Contributors
Watchers
hangman-game's Issues
Requirements
-
Accept user input on mobile devices.
- Make input field for user guesses.
-
Fit on mobile screens.
- Create a CSS file for the mobile version of the game.
- Resize the hangman images to display a small icon while playing.
- Make all sections centered and at top of page for when keyboard is open.
Requirements
-
Create custom category text input field
- Have a placeholder in text input field that reads 'Custom Category'
- When users are typing into the input field the game will not register key up events toward guessing the current word.
- When input is active all other categories are deselected.
-
Create a generate word button.
- When button is pressed a word is generated based on what category is selected.
- If there is text in the custom category input that will be used as the category to generate a new word.
-
Create a request to Datamuse API for words based on user input.
- Take user input string and convert to all lowercase.
- Replace spaces in user input string with '+' (plus symbol).
-
Alert users if no results were found with their custom category.
Steps to recreate
- Correctly guess a letter in the current word to make that letter display in the current word in place of the underscores.
- Press that letter again and ding will sound.
Expected result
- When a letter has already been correctly guessed and displayed the ding noise should not be sounded when the letter is pressed any more times.