Skip to content

This enjoyable game involves participants inputting letters in an attempt to deduce a word within a limited number of 8 attempts. The words utilized in the game are retrieved from an external API.

License

Notifications You must be signed in to change notification settings

iVGeek/guess-the-word

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Guess the Word Game

This game employs JavaScript to iterate through arrays, employ appropriate methods, employ regular expressions, and access an external API.

Extra features have been incorporated, including a scoring mechanism, a maximum length restriction on the text input, disabling autocomplete, deactivating the "Guess" button if the text field is empty, and the implementation of media queries.

Screen Shot 2022-04-20 at 11 39 41 AM

How to Play

The game commences with a word displayed on the screen, where circular symbols serve as indicators for each letter. Participants initiate by inputting a letter. If their guess is accurate, the letter is revealed within the word; otherwise, they are informed of the remaining number of guesses. Additionally, players have visibility into the letters they've previously guessed. The game provides feedback if a letter has already been guessed or if a non-alphabetic character is entered.

Should the player successfully guess all letters before exhausting their 8 allotted attempts, they emerge victorious! After the game, a "Play Again" button prompts the player to engage in another round.

Launch

Play the Guess the Word Game here (good luck!): https://ivgeek.github.io/guess-the-word/

JavaScript Fundamentals

About

This enjoyable game involves participants inputting letters in an attempt to deduce a word within a limited number of 8 attempts. The words utilized in the game are retrieved from an external API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published