codeword-solver

command module
v0.0.0-...-990416a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

README

Codeword Solver

Solves codeword puzzles that are found in newspapers, e.g. https://puzzles.independent.co.uk/games/independent-codeword

Build
go build

Usage

Enter the letters that you already have, with . or ? or * to represent unique letters, and numbers for repeated unknown letters.

Either provide a pattern as a command line argument:

> ./codeword-solver 112.2
llama

Or drop into a prompt:

> ./codeword-solver
Enter pattern: ..a122.1r
chauffeur

Enter pattern: 

Supply a custom dictionary file:

> ./codeword-solver --dict spanish.txt 112.2
Search for intersecting patterns

The solver also supports searching for multiple patterns together using the following semantics:

> ./codeword-solver .os1os 1....o..s1
cosmos:metabolism

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL