Code Monkey home page Code Monkey logo

boardwinr's Introduction

BoardWinr

Copyright © 2016 Bart Massey

This is a simple solver for the Mag Interactive game WordBrain™. The author is entirely unaffiliated with Mag Interactive, and this program is provided without their knowledge or consent.

Operation

The solver expects a text file on its standard input in a specific format. The first lines should be the puzzle tiles, in the obvious format. The final line should be a space-separated list of the lengths of the words in the solution, in order. For example:

    dak
    cse
    iet
    6 3

The solver also expects to find a dictionary in the file words.txt in its current directory, with a simple file format of one word per line. Dictionaries are available in compressed format on GitHub in the wordlists project.

Feeding the example above to BoardWinr with the EOWL dictionary

    python3 boardwinr.py <example.txt

results in the output

    casket ide
    casket die

The words used in official WordBrain™ puzzles are always quite common, so the second solution is the desired one. Tracing the given solution out is left as a manual activity.

License

This work is made available under the GPL version 3. Please see the file COPYING in this distribution for license information.

boardwinr's People

Contributors

bartmassey avatar

Watchers

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