f

Dependencies:   mbed 4DGL-uLCD-SE MMA8452

Committer:
dfrausto3
Date:
Tue Apr 12 01:39:20 2022 +0000
Revision:
6:453dc852ac0f
Parent:
0:8e3b9bb1084a
f

Who changed what in which revision?

UserRevisionLine numberNew contents of line
lballard9 0:8e3b9bb1084a 1 /*
lballard9 0:8e3b9bb1084a 2 * This file contains the dictionary array which is
lballard9 0:8e3b9bb1084a 3 * an array of Word structs that hold words that could be
lballard9 0:8e3b9bb1084a 4 * potential secret words. You may add or remove from the Word
lballard9 0:8e3b9bb1084a 5 * struct as you see fit for your own implementation.
lballard9 0:8e3b9bb1084a 6 * You should add more potential secret words to the dictionary.
lballard9 0:8e3b9bb1084a 7 */
lballard9 0:8e3b9bb1084a 8
lballard9 0:8e3b9bb1084a 9 struct Word {
lballard9 0:8e3b9bb1084a 10 char* letters;
lballard9 0:8e3b9bb1084a 11 int counts[5];
lballard9 0:8e3b9bb1084a 12 char unique[5];
lballard9 0:8e3b9bb1084a 13 } word;
lballard9 0:8e3b9bb1084a 14
lballard9 0:8e3b9bb1084a 15
dfrausto3 6:453dc852ac0f 16 Word dictionary[10] = {
lballard9 0:8e3b9bb1084a 17 {"speed", {1,1,2,1,0}, {'s','p', 'e', 'd', '!'}},
dfrausto3 6:453dc852ac0f 18 {"crane", {1,1,1,1,1}, {'c', 'r', 'a', 'n', 'e'}},
dfrausto3 6:453dc852ac0f 19 {"porte", {1,1,1,1,1}, {'p','o', 'r', 't', 'e'}},
dfrausto3 6:453dc852ac0f 20 {"adult", {1,1,1,1,1}, {'a', 'd', 'u', 'l', 't'}},
dfrausto3 6:453dc852ac0f 21 {"naive", {1,1,1,1,1}, {'n','a', 'i', 'v', 'e'}},
dfrausto3 6:453dc852ac0f 22 {"glans", {1,1,1,1,1}, {'g', 'l', 'a', 'n', 's'}},
dfrausto3 6:453dc852ac0f 23 {"thick", {1,1,1,1,1}, {'t','h', 'i', 'c', 'k'}},
dfrausto3 6:453dc852ac0f 24 {"agony", {1,1,1,1,1}, {'a', 'g', 'o', 'n', 'y'}},
dfrausto3 6:453dc852ac0f 25 {"spiky", {1,1,1,1,1}, {'s','p', 'i', 'k', 'y'}},
dfrausto3 6:453dc852ac0f 26 {"child", {1,1,1,1,1}, {'c', 'h', 'i', 'l', 'd'}}
lballard9 0:8e3b9bb1084a 27 };