GithubHelp home page GithubHelp logo

wordle's Introduction

Wordle

A program that solves Wordle. Has 3 modes, run, play, test.

Run

Pass run as a command line argument, or without any command line arguments. Simply an implementation of Wordle, but also shows the optimal word, a list of possible words, and the possible letters for each possition.

Play

Pass play as a command line argument. The program plays wordle, suggesting an optimal word, and the user provides the color sequence for that word from an implementation of wordle. The color sequence is entered as five characters, 'g' for green, 'y' for yellow, and 'b' for black.

Test

Tests itself against every single possible word and prints it's average score.

First optimal word

Since it takes so long and doesn't change, the first optimal was computed and then hard coded in. If you with to compute the first optimal word as well, simply uncomment the relevent lines in src/game.rs, src/play.rs, and src/test.rs and the line after for each of the 3 modes (run, play, and test respectfully).

wordle's People

Contributors

larobitrumpet 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.