diff options
| author | Timo Wilken | 2020-06-12 17:30:30 +0100 |
|---|---|---|
| committer | Timo Wilken | 2020-06-12 17:30:30 +0100 |
| commit | 57d9b8737c9444e596b8b77007943d70c3783a2e (patch) | |
| tree | f0b7fe1f49b195bc1a2369745819d60b0a4f817d | |
| parent | e762da9e966d2313eac9e424a61b2e62d549eecf (diff) | |
| -rw-r--r-- | README.md | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,9 +1,12 @@ # Bananagrams solver -This program creates a Scrabble-like grid from some given letters and a word list. +This program creates a Scrabble-like grid from some given letters and a word +list. The problem is that all the given letters have to appear exactly as often +as they are given, and no letters can be left over at the end. The Haskell and Python versions both use the same algorithm. I wrote the Python -version first and then rewrote it in Haskell for speed. +version first and then rewrote it in Haskell for speed, as the algorithm isn't +particularly smart (it's pretty much brute force). Both executables take a word list and, optionally, some letters to lay out. If no letters are given, random letters are chosen. |
