Skip to content

Jaizzer/guess-the-word

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Guess The Word

Introduction

Guess The Word is a simple word-guessing game built with HTML, CSS, and JavaScript. The objective of the game is to guess a secret 4-letter word. Players enter their guesses, and the game provides feedback on whether each letter guessed is correct or not. The goal is to guess the word correctly within the given number of attempts.

Demo

Play the Game

You can play the game directly by clicking here.

Features

  • Interactive Gameplay: Players can input their guesses into the provided text boxes.

  • Feedback: The game provides feedback in the form of symbols (✅ for correct letters and ❌ for incorrect letters) to indicate whether the guessed letters are in the correct positions.

  • Reset and Reveal: Players can reset their guesses or reveal the correct answer using the provided buttons.

  • Validation: Input validation ensures that players enter only 4-letter words.

  • Random Word Picking: Press the random word button to generate a random 4 letter English word from a set list.

How to Play

  1. Open the game by clicking here.

  2. Enter your guesses in the input boxes. Each input should be a single letter.

  3. Submit your guesses by clicking the "Submit" button.

  4. The game will provide feedback with symbols ('/' for correct letters in the correct position and 'X' for incorrect letters or positions).

  5. Continue guessing until you guess the word correctly or use the "Reveal" button to see the correct answer.

  6. You can reset your guesses at any time using the "Reset" button.

Installation

If you want to run the game locally, you can follow these steps:

  1. Clone the repository to your local machine:

git clone https://github.com/your-username/guess-the-word.git

  1. Open the index.html file in your web browser to start playing.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Contributions to Guess The Word are very welcome! If you find any bugs or have improvement suggestions, just open an issue on the GitHub repository. You can also fork the repository, make your changes, and then submit a pull request.

You can email me via @florenzjaizzer.calderon@gmail.com.

Enjoy playing the game! Have fun guessing the word!