Giter Site home page Giter Site logo

crypt0s1s / wordlehelper Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 53 KB

A simple Haskell wordle player that given restraints will output the list of possible words and a guess suggestion.

License: BSD 3-Clause "New" or "Revised" License

Haskell 100.00%

wordlehelper's Introduction

Wordle

Dependencies:

stack

split

  • stack install split

multiset

  • stack install multiset

Usage:

Currently the program has 2 components. A playable version of wordle and a word suggester. To swap between these programs comment / uncomment the relavent lines in app/Main.hs.

Word Suggester:

The program takes up to 4 arguments detailing the following

  1. letters that are in the word (e.g. abz)
  2. letters that aren't in the word (e.g. ceh)
  3. letters that are in the word at a specific location seperated by commas (e.g. r,e,t,r,y - can only return the word retry)
  4. letters that aren't in the word at a specific location seperated by commas (e.g. v,a,ca,n,t)

All arguments can be ommited. If there are no known letters in the word a '.' can be used as a replacement.

Full examples:

stack run . adieu (no known letters and the letters 'a','d','i','e','u' are not in the word)

stack run zer wqjb z,,,, ,,,,er (z is in the first position in the word. 'e' and 'r' are not in the last position in the word)

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.