Welcome to the Lexicon! This README file provides all the necessary information to get started with the game, understand its rules, and explore its features. Let's dive in!
- Introduction
- Game Rules
- Instructions
- Color Codes of Letters
- Game Preview
- Installation
- How to Play
- Features
- License
Lexicon Game is a fun and engaging word puzzle game inspired by the popular Lexicon game. The objective is to guess a hidden 5-letter word within 6 attempts. The game provides feedback on each guess, helping you inch closer to the correct word with each try.
- You have 6 attempts to guess the correct 5-letter word.
- Each guess must be a valid 5-letter word.
- After each guess, the color of the letters will change to show how close your guess was to the word:
- Green: Correct letter in the correct position.
- Yellow: Correct letter in the wrong position.
- Gray: Incorrect letter.
- Enter a 5-letter word as your guess.
- Press the "Enter" key to submit your guess.
- Observe the color-coded feedback for your guess:
- Green letters are in the correct position.
- Yellow letters are correct but in the wrong position.
- Gray letters are incorrect.
- Green: The letter is in the correct position.
- Yellow: The letter is correct but in the wrong position.
- Gray: The letter is incorrect.
To play the Lexicon Game locally, follow these steps:
- The Repository:
git clone https://github.com/yourusername/Lexicon-clone.git
- ** Navigate to the Project Directory:**:
cd Lexicon-clone
- Install Dependencies:
npm install
- Run the Game::
npm start
Open your web browser and go to http://localhost:3000 if you are using the web-based version.
To play online, visit our website at https://github.com/DeshDeepakKant/Lexicon and follow the on-screen instructions to start the game.
Type in a valid 5-letter word and press "Enter".
The game will provide feedback by changing the colors of the letters in your guess.
Use the feedback to make better guesses and try to find the correct word within 6 attempts.
- Responsive Design: The game is optimized for both desktop and mobile devices.
- Keyboard Input: Use your keyboard to enter guesses and navigate the game.
- Real-time Feedback: Immediate color-coded feedback for each guess.
- Word Validation: Ensures that only valid 5-letter words are accepted.
- Customization: Easily modify the word list and other settings to customize your game experience.
This project is licensed under the MIT License. See the LICENSE file for more information.