Coder Social home page Coder Social logo

opendeved-wordle's Introduction

OpenDevEd-Wordle

Requirements:

Your task is to create a web-based Wordle game using React that adheres to the following specifications:

User Interface (UI):

Design a clean and intuitive UI for the game that includes:

  • Input field for guessing words.
  • Submit button to submit the guess.
  • Display area for previous guesses. = Indication of correct letters in correct positions (right letter, right position).
  • Indication of correct letters in the wrong position.
  • Display remaining attempts.
  • End game state UI (upon winning or losing).

State Management:

Implement a robust state management system to handle:

  • Target word selection (randomly generate a word at the start of the game).
  • Storing user guesses and their results.
  • Tracking remaining attempts.

User Interaction:

  • Capture user input for word guesses.
  • Validate input (alphabetic characters, word length, etc.).
  • Handle the submission of guesses and update the game state accordingly.

Game Logic:

  • Compare the user's guessed word against the target word.
  • Provide feedback to the user about the correctness of the guessed word.
  • End the game when the correct word is guessed or when the attempts reach zero.

Code Quality:

  • Write clean, readable, and maintainable code.
  • Implement best practices for React development.
  • Ensure error handling for edge cases (invalid input, unexpected behavior).

Submission Guidelines:

  • Fork this repository) and create a new branch named wordle-[YOUR NAME].
  • Provide clear instructions on how to run the application locally.
  • Include a README file explaining your approach, decisions made, and any additional features implemented.
  • Open a PR.

Evaluation Criteria:

  • UI/UX design and functionality.
  • Code quality, structure, and maintainability.
  • State management and logic implementation.
  • Handling of edge cases and error scenarios.
  • Bonus points for additional features or optimizations.

opendeved-wordle's People

Contributors

suzuya1331 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.