Code Monkey home page Code Monkey logo

wordle_solver's Introduction

Wordle Solver

Visits Badge Languages Top Languages

Description

The following is a program for playing Wordle in the console written in python3. When playing, the game will give you 3 options:

  • Test Solver [T]
  • Game Assist [A]
  • Play Game [P]

Test Solver

The test solver option can be selected by typing in a "T". This will run the solver for how ever many games you have set up in the main.py file. To change this change the following variable.

GAMES = 10 

Game Assist

The game assist option is a way to have it help you choose your words when playing on the actual game. To play type in the suggested words. The agent will then ask you for what the game returned as hints. The agent will be looking for a responce like "bbygb". For this the options are:

  • b = black/grey
  • y = yellow
  • g = green

Play Game

The play game option is a way to play wordle games in your console.

Launch Instructions

step 1: open your console
step 2: create a virtual enviroment
step 3: type the following command "pip install -r requirements.txt"
step 4: type the following command "cd [app directory]"
step 5: type the following command "python3 main.py"
step 6: type in the action you wish to perform.

Write Up

To get a better understanding of why the code is written this way check out my detailed write up:

Reference

wordle_solver's People

Contributors

bellerb avatar bhbmaster 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.