Git Product home page Git Product logo

wordle_ai's Introduction

Wordle Solver - AI Word-Guessing Game

This Python project, the Wordle Solver, is designed to strategically guess a user-provided or randomly chosen five-letter word in the popular word-guessing game Wordle. It employs a combination of techniques and algorithms to make educated guesses and solve the word puzzle.

Features

  1. Intelligent Guessing: The Wordle Solver employs an intelligent guessing strategy to minimize the number of attempts required to guess the target word accurately.

  2. Random or User-Provided Words: You can either provide a word for the AI to guess or let it randomly select a word from its predefined list.

  3. Feedback and Optimization: The solver receives feedback for each guess and optimizes subsequent guesses based on the provided feedback to efficiently narrow down the possibilities.

  4. Performance Metrics: After successfully guessing the word, the solver provides information on the number of attempts it took to find the target word.

  5. Word Frequency Analysis: The solver performs frequency analysis on a dataset of five-letter words to inform its guessing strategy.

About the code

Launch the game and you will be presented with a random secret word. The computer will guess the word by entering a five-letter word. After each guess, the game will provide feedback in the form of:

  1. A 'G' indicates a correct letter in the correct position.
  2. A 'Y' indicates a correct letter in the wrong position.
  3. An 'N' circle indicates an incorrect letter. Keep guessing until you correctly guess the secret word or run out of attempts.

This project is an engaging exercise in AI-driven word guessing and can be used for both educational purposes and as a fun AI-powered companion for Wordle enthusiasts. Enjoy watching the AI strategize its way to the correct word!

wordle_ai's People

Contributors

pranjali0921 avatar

Watchers

 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.