A Julia library for solving Wordle puzzles.

Overview

Wordle.jl

A Julia library for solving Wordle puzzles.

Usage

julia> import Wordle: play

julia> play("panic")
4

julia> play("panic", verbose = true)
Iteration: 1
Candidate: irate
🟨⬜🟨⬜⬜
Iteration: 2
Candidate: basin
🟨⬜🟨⬜⬜
⬜🟩⬜🟩🟨
Iteration: 3
Candidate: manic
🟨⬜🟨⬜⬜
⬜🟩⬜🟩🟨
⬜🟩🟩🟩🟩
Iteration: 4
Candidate: panic
🟨⬜🟨⬜⬜
⬜🟩⬜🟩🟨
⬜🟩🟩🟩🟩
🟩🟩🟩🟩🟩
Success!
4

julia> play("panic", verbose = true, debug = true)
Iteration: 1
Candidate: irate
🟨⬜🟨⬜⬜
==========================================
Constraints
* Lower Bounds:
 * a ≥ 1
 * i ≥ 1

* Exact Matches:
 * ·····

* Global Ban:
 * e = 0
 * r = 0
 * t = 0


* Local Ban:
 * word[1] ≠ i
 * word[3] ≠ a


==========================================
Number of Candidates: 41 / 2315 [1.771%]
Iteration: 2
Candidate: basin
🟨⬜🟨⬜⬜
⬜🟩⬜🟩🟨
==========================================
Constraints
* Lower Bounds:
 * a ≥ 1
 * i ≥ 1
 * n ≥ 1

* Exact Matches:
 * ·a·i·

* Global Ban:
 * b = 0
 * e = 0
 * r = 0
 * s = 0
 * t = 0


* Local Ban:
 * word[1] ≠ i
 * word[3] ≠ a
 * word[5] ≠ n


==========================================
Number of Candidates: 3 / 2315 [0.130%]
Candidates: ["panic", "mania", "manic"]

Iteration: 3
Candidate: manic
🟨⬜🟨⬜⬜
⬜🟩⬜🟩🟨
⬜🟩🟩🟩🟩
==========================================
Constraints
* Lower Bounds:
 * a ≥ 1
 * c ≥ 1
 * i ≥ 1
 * n ≥ 1

* Exact Matches:
 * ·anic

* Global Ban:
 * b = 0
 * e = 0
 * m = 0
 * r = 0
 * s = 0
 * t = 0


* Local Ban:
 * word[1] ≠ i
 * word[3] ≠ a
 * word[5] ≠ n


==========================================
Number of Candidates: 1 / 2315 [0.043%]
Candidates: ["panic"]

Iteration: 4
Candidate: panic
🟨⬜🟨⬜⬜
⬜🟩⬜🟩🟨
⬜🟩🟩🟩🟩
🟩🟩🟩🟩🟩
==========================================
Constraints
* Lower Bounds:
 * a ≥ 1
 * c ≥ 1
 * i ≥ 1
 * n ≥ 1
 * p ≥ 1

* Exact Matches:
 * panic

* Global Ban:
 * b = 0
 * e = 0
 * m = 0
 * r = 0
 * s = 0
 * t = 0


* Local Ban:
 * word[1] ≠ i
 * word[3] ≠ a
 * word[5] ≠ n


==========================================
Number of Candidates: 0 / 2315 [0.000%]
Candidates: String[]

Success!
4

Owner
John Myles White
John Myles White
Unpacks things.

$ unp_ unp is a command line tool that can unpack archives easily. It mainly acts as a wrapper around other shell tools that you can find on v

Armin Ronacher 405 Jan 03, 2023
A simple CLI application helps you to find giant files that are eating up your system storage

Large file finder Sometimes it's very hard to find if some giant files are eating up your system storage. We might need to hunt those down. This simpl

Rahul Baruri 5 Nov 18, 2022
The project help you to quickly build layouts in terminal,cross-platform

The project help you to quickly build layouts in terminal,cross-platform

gojuukaze 133 Nov 30, 2022
🕰 The command line tool for scheduling Python scripts

hickory is a simple command line tool for scheduling Python scripts.

Max Humber 146 Dec 07, 2022
A CLI framework based on asyncio

asynccli A CLI framework based on asyncio. Note This is still in active development. Things will change. For now, the basic framework is operational.

Adam Hopkins 6 Nov 13, 2022
👻 Ghoul is an easy to use information service, allowing you to get/add information on someone or something directly from your terminal.

👻 Ghoul is an easy to use information service, allowing you to get/add information on someone or something directly from your terminal. It c

Billy 11 Nov 10, 2021
A CLI Password Manager made using Python and Postgresql database.

ManageMyPasswords (CLI Edition) A CLI Password Manager made using Python and Postgresql database. Quick Start Guide First Clone The Project git clone

Imira Randeniya 1 Sep 11, 2022
pyNPS - A cli Linux and Windows Nopaystation client made with python 3 and wget

Currently, all the work is being done inside the refactoring branch. pyNPS - A cli Linux and Windows Nopaystation client made with python 3 and wget P

Everton Correia 45 Dec 11, 2022
電通大のCLIツールです

uecli 電通大のCLIツールです。コマンドラインからシラバス検索、成績参照、図書館の貸出リストなどを見ることができます インストール pip install uecli 使い方 シラバスを検索 uecli syllabus search -s 'コンピュータサイエンス' シラバスを取得し、Mar

UEC World Dominators 2 Oct 31, 2021
Python and data science snippets on the command line

Python Snippet Tool A tool to get Python and data science snippets at Data Science Simplified on the command line. You can read my article to learn ho

Khuyen Tran 19 Dec 21, 2022
Wordle - Wordle solver with python

wordle what is wordle? https://www.powerlanguage.co.uk/wordle/ preparing $ pip i

shidocchi 0 Jan 24, 2022
Generate an ASCII Art from keyword put in the cli

ascii-art-generator-cli Generate an ASCII Art from keyword put in the cli Install git clone https://github.com/Nathanlauga/ascii-art-generator-cli cd

Nathan Lauga 1 Nov 14, 2021
Set of scripts & tools for converting between numbers and major system encoded words.

major-system-converter Set of scripts & tools for converting between numbers and major system encoded words. Uses phonetics instead of letters to conv

4 Aug 09, 2022
Todo list console based application. Todo's save to a seperate file.

Todo list console based application. Todo's save to a seperate file.

1 Dec 24, 2021
instant coding answers via the command line

howdoi instant coding answers via the command line Sherlock, your neighborhood command-line sloth sleuth. Are you a hack programmer? Do you find yours

Benjamin Gleitzman 9.8k Jan 08, 2023
Redial is a simple shell application that manages your SSH sessions on Unix terminal.

redial redial is a simple shell application that manages your SSH sessions on Unix terminal. What's New 0.7 (19.12.2019) Basic support for adding ssh

Bahadır Yağan 186 Oct 28, 2022
Cli tool to browse and play anime

browse and watch anime (scrape from gogoanime) (wip) basically ani-cli but in python cuz python good demo dependencies mpv installation from pypi pip

sheep padowo 2 Apr 20, 2022
cli simple python script to interact with iphone afc api based on python library( tidevice )

afcclient cli simple python script to interact with iphone afc api based on python library( tidevice ) installation pip3 install -U tidevice cp afccli

fyst_14 2 Jul 15, 2022
CLI based diff viewer

Rich Diff CLI based diff viewer

Suresh Kumar 24 Nov 15, 2022
Un module simple pour demander l'accord de l'utilisateur dans une CLI.

Demande de confirmation utilisateur pour CLI Présentation ask_lib est un module pour le langage Python proposant une seule fonction; ask(). Le but pri

CallMePixelMan 7 May 09, 2022