Giter VIP home page Giter VIP logo

kamilmielnik / scrabble-solver Goto Github PK

View Code? Open in Web Editor NEW
83.0 5.0 19.0 30.22 MB

Free, open-source, and cross-platform analysis tool for Scrabble, Super Scrabble & Literaki. Quickly find top scoring words using given letters and board state. Available in English, French, German, Persian, Polish, Romanian & Spanish.

Home Page: https://scrabble-solver.org

License: Other

JavaScript 4.10% SCSS 9.80% TypeScript 86.09%
scrabble-solver solver scrabble literaki scrabble-word-finder nodejs react redux scrabble-dictionary scrabble-game

scrabble-solver's People

Contributors

cboki avatar hansolo80 avatar kamilmielnik avatar kyczan avatar mansourm avatar rerollea avatar theraphael0000 avatar yuriyyakym avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

scrabble-solver's Issues

Library usage

Hello, can I use this package as a library that helps me solving scrabbles just by giving it input characters?

What I want to build is something like this: http://www.scrabble-solver.com/

The idea is to use it the following way:

const scrabbleSolver = require('scrabble-solver');
const input = ['A', 'B', 'S', 'C', 'U', 'V', 'W', 'I', 'J'];
const language = 'en';
const results = scrabbleSolver(input, language); // ["AB", "ABS", "AS", "BA", "BAC", "BACS", "BAS", "BUS", "CAB", "CABS", "CUB", "CUBS", "SAB", "SAC", "SAU", "SAV", "SCAB", "SCUBA", "SCUBA", "SUB", "SUBA", "US", "UVA", "UVAS", "VAC", "VACS", "VAS", "VAU", "VAUS"]

Organize buttons

  • group info buttons (keymap, github) and action buttons (settings, clear) together
  • add separator between the groups

Config editor

Custom configs editable via UI.

Requires refactoring configId parameter of solve endpoint into config.

"Q" tile does not work

Steps to reproduce

  1. Pick en-US
  2. put "Q" as a tile
  3. search

Result

  1. "Q" in not being sent in the HTTP GET request

Run solver on client side

  • ability to download a dictionary and keep it in browser storage
  • [service worker] to intercept requests and use AJAX requests only when dictionary has not downloaded yet
  • initialize downloading dictionary when locale is selected
  • make solver return a cancellable promise
  • make service worker cancel all pending requests when starting a new one (per pathname)

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.