Skip to content

This fun game has players enter letters while trying to guess the word with their 8 tries. The words are fetched from an API.

Notifications You must be signed in to change notification settings

marisabrantley/guess-the-word

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Guess the Word Game

This game uses JavaScript to loop through arrays, utlize proper methods, use regular expression, and fetch an API.

I added additional features - a scoring system, max length on the text input, removing the autocomplete, disabling the "Guess" button if the text field is empty, and media queries.

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

How to Play

The game starts with a word on the screen. Circle symbols act as placeholders for each letter. Players start by entering a letter. If they guess correctly, the letter appears in the word. If they guess incorrectly, they learn how many guesses they have remaining. The player can also see which letters they’ve already guessed. The game lets the player know if they’ve already guessed a letter or entered a non-alphabetic character!

If the player guesses all the letters correctly before they use up their 8 allotted guesses, they win! A Play Again button appears at the end of the game to prompt the player to give it another try.

Launch

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

Class

Skillcrush, Break into Tech Blueprint

JavaScript Fundamentals - Project: Guess the Word Game

About

This fun game has players enter letters while trying to guess the word with their 8 tries. The words are fetched from an API.

Topics

Resources

Stars

Watchers

Forks

Languages

  • JavaScript 60.0%
  • CSS 26.5%
  • HTML 13.5%