Giter Site home page Giter Site logo

wordle_bot's Introduction

wordle_bot

A bot for playing World and giving suggestions based on the maximum entropy method.

I eventually will give it a GUI, but as of right now the main_XXXX.cpp files can be compiled for a terminal based expierence.

  • main_game_engine.cpp : A terminal Wordle implementation without suggestions (no cheating)
  • main_game_engine_recomendations.cpp : A terminal Wordle implementation with suggestions (cheating)
  • main_recomendation_engine.cpp : A terminal tool to give suggestions based on a external Wordle game (cheating)
  • main_entropy_list.cpp : Will evalauate a word list and compute the entropy for each word (to learn good guesses)

For example, to compile into the target directory with the g++ toolchain:

g++ -std=c++17 -o3 ${file} -o ${workspaceFolder}\target\${fileBasenameNoExtension}.exe

The data directory contains .txt files with lists of words in ASCII and separated by a newline.
Data can be added here, adjusted in the main_XXXX.cpp file, and recompiled.

For reference a list of good first guess words are:

  • Entropy: 9.6177, Word: sense
  • Entropy: 9.37056, Word: seeds
  • Entropy: 9.09607, Word: seems
  • Entropy: 8.7247, Word: seeks
  • Entropy: 8.5668, Word: stats
  • Entropy: 8.53366, Word: sells
  • Entropy: 8.51993, Word: tests
  • Entropy: 8.07233, Word: trees
  • Entropy: 8.02845, Word: ellen
  • Entropy: 7.98284, Word: lease

wordle_bot's People

Contributors

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