Skip to content

Latest commit

 

History

History

scrabble-cheater

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ScrabbleCheater License: GPL v3 npm version

This is a simple Scrabble cheating tool designed for Andy's scrabble-bot (but can be used for a normal Scrabble game, too).

Of course you shouldn't be using this and I'm not responsible if people call you a cheater.

Prerequisites

Setup

ℹ️ This is a pure ESM module.

yarn
yarn dist

Run

dist/cli.js

Usage

Usage: scrabble-cheater [options]

A simple Scrabble cheating tool.

Options:
  -V, --version            output the version number
  -w, --wordlist <file>    Specify a wordlist file (mandatory)
  -l, --letters <letters>  Specify letters
  -q, --quiet              Quiet mode: displays only the letters
  -m, --maximum <number>   Specify a maximum of results
  -s, --single             Single word mode: displays each word and copies it to the clipboard
  -h, --help               output usage information

Include in your project

import {ScrabbleCheater} from 'scrabble-cheater';

new ScrabbleCheater('./my-wordlist.txt', 'l e t t e r s').start().then(matches => {
  // [ 'match1', 'match2', ... ]
});