Update README.md

This commit is contained in:
2024-04-13 10:19:20 -04:00
committed by GitHub
parent 09e6f4a672
commit e183ce07c0
+4 -7
View File
@@ -18,7 +18,7 @@ To use the script to solve a Boggle board, you'll need to do a few things first.
d,f,e,y d,f,e,y
n,m,e,qu n,m,e,qu
``` ```
2. Find or create a dictionary wordlist file or create your own 2. Find or create a dictionary wordlist file
The dictionary wordlist should have each word on a single line like so The dictionary wordlist should have each word on a single line like so
```console ```console
@@ -44,7 +44,7 @@ To use the script to solve a Boggle board, you'll need to do a few things first.
3. Split the dictionary wordlist into separate files based on the first letter of each word. 3. Split the dictionary wordlist into separate files based on the first letter of each word.
To split an English wordlist the `split_wordlist_alpha.sh` script can be used like so: To split an English wordlist, use the `split_wordlist_alpha.sh` script like so:
```console ```console
$ split_wordlist_alpha.sh my_wordlist.txt . $ split_wordlist_alpha.sh my_wordlist.txt .
``` ```
@@ -97,7 +97,6 @@ BOARD
+---------------+ +---------------+
| O | W | H | A | | O | W | H | A |
+---------------+ +---------------+
Starting @ (0, 0) Starting @ (0, 0)
╭──────────┬──────────────────────────────────────────────────────────────────╮ ╭──────────┬──────────────────────────────────────────────────────────────────╮
│ Word │ Path │ │ Word │ Path │
@@ -142,8 +141,7 @@ BOARD
│ aia │ [(0, 1), (0, 2), (1, 2)] │ │ aia │ [(0, 1), (0, 2), (1, 2)] │
│ aias │ [(0, 1), (0, 2), (1, 2), (2, 3)] │ │ aias │ [(0, 1), (0, 2), (1, 2), (2, 3)] │
╰────────┴──────────────────────────────────────────────────╯ ╰────────┴──────────────────────────────────────────────────╯
Starting @ (0, Starting @ (0,2)
2)
╭──────┬──────╮ ╭──────┬──────╮
│ Word │ Path │ │ Word │ Path │
├──────┼──────┤ ├──────┼──────┤
@@ -254,8 +252,7 @@ Starting @ (0,
│ yap │ [(1, 3), (1, 2), (0, 3)] │ │ yap │ [(1, 3), (1, 2), (0, 3)] │
│ yas │ [(1, 3), (1, 2), (2, 3)] │ │ yas │ [(1, 3), (1, 2), (2, 3)] │
╰──────┴──────────────────────────╯ ╰──────┴──────────────────────────╯
Starting @ (2, Starting @ (2, 0)
0)
╭──────┬──────╮ ╭──────┬──────╮
│ Word │ Path │ │ Word │ Path │
├──────┼──────┤ ├──────┼──────┤