Skip to content

Lexicon: Guess 5-letter word in 6 tries with color-coded feedback. Responsive & fun!

Notifications You must be signed in to change notification settings

DeshDeepakKant/Lexicon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lexicon

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!

Table of Contents

Introduction

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.

Game Rules

  1. You have 6 attempts to guess the correct 5-letter word.
  2. Each guess must be a valid 5-letter word.
  3. 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.

Instructions

  1. Enter a 5-letter word as your guess.
  2. Press the "Enter" key to submit your guess.
  3. 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.

Color Codes of Letters

  • Green: The letter is in the correct position.
  • Yellow: The letter is correct but in the wrong position.
  • Gray: The letter is incorrect.

Game Preview

Game Preview

Installation

To play the Lexicon Game locally, follow these steps:

  1. The Repository:
git clone https://github.com/yourusername/Lexicon-clone.git
  1. ** Navigate to the Project Directory:**:
cd Lexicon-clone
  1. Install Dependencies:
npm install
  1. Run the Game::
npm start

How to Play

Launch the Game:

Open your web browser and go to http://localhost:3000 if you are using the web-based version.

Play Online:

To play online, visit our website at https://github.com/DeshDeepakKant/Lexicon and follow the on-screen instructions to start the game.

Make a Guess:

Type in a valid 5-letter word and press "Enter".

Check the Feedback:

The game will provide feedback by changing the colors of the letters in your guess.

Continue Guessing:

Use the feedback to make better guesses and try to find the correct word within 6 attempts.

Features

  • 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.

License

This project is licensed under the MIT License. See the LICENSE file for more information.

About

Lexicon: Guess 5-letter word in 6 tries with color-coded feedback. Responsive & fun!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published