Code Monkey home page Code Monkey logo

boggler's Introduction

boggler

A command line boggle board solver for n-dimensional boggle boards.

Installation

git clone [email protected]/mcountryman/boggler.git
cargo build
cp target/release/boggler /usr/local/bin/boggler

Example

Finished release [optimized] target(s) in 0.03s
  Running `target/release/boggler --grid txrasomeyiftooetmtnglodnf`
aeon, aery, are, arm, armet, asio, ayr, dol, dolt, dot, ear, eas, easy, ego, emf, end, eon, era, etf, eyas, eye, eyra,
eyre, fox, fto, gen, genf, genome, gent, gnome, goer, gond, gone, goo, gooey, goon, gooney, goy, goya, ion, iyar, lot,
lotte, lottery, lotto, ltm, ltte, mod, mol, molt, mom, momot, mon, money, moneyer, mongo, mono, moo, moon, mooneye, moong,
moot, mot, mote, motmot, mott, motto, neo, ney, ngf, ngo, nne, nog, noisy, nome, not, note, oft, ois, olm, one, ono, oto,
otoe, otter, oxeye, ras, ray, rayon, rem, ret, rex, rya, rye, say, sion, tea, tear, teary, tera, teras, term, text, tnf,
tod, toe, toea, tog, tom, tome, ton, tone, too, toon, toot, tot, tote, totem, toter, totter, tottery, toy, toyon, yea,
year, yen, yer, yet, yon,

len 3: 64
len 4: 38
len 5: 19
len 6: 4
len 7: 4
total: 129
done in 70.7273ms

Usage

boggler [OPTIONS] --grid <GRID>

Options

-d, --dictionary <DICTIONARY>
        The optional path to a text file containing words delimited by newline characters.

        Default: Uses dictionary baked into executable.
-g, --grid <GRID>
        The characters in the grid.

        Example: "modnstedetripyij"
-h, --help
        Print help information
-m, --min-word-len <MIN_WORD_LEN>
        The shortest word length to match

        [default: 3]
-n, --neighbors-kernel <NEIGHBORS_KERNEL>
        A space separated list of comma separated tuples to determine which neighboring cells to
        use when checking a cell.

        Defaults to all neighbors.

        [default: "-1,-1 0,-1 -1,0 1,1 0,1 1,0 -1,1 1,-1"]
-V, --version
        Print version information

boggler's People

Contributors

mcountryman avatar

Watchers

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