f

Dependencies:   mbed 4DGL-uLCD-SE MMA8452

dictionary.h

Committer:
dfrausto3
Date:
2022-04-12
Revision:
6:453dc852ac0f
Parent:
0:8e3b9bb1084a

File content as of revision 6:453dc852ac0f:

/*
* This file contains the dictionary array which is 
* an array of Word structs that hold words that could be
* potential secret words. You may add or remove from the Word
* struct as you see fit for your own implementation.
* You should add more potential secret words to the dictionary.
*/

struct Word {
   char* letters;
   int counts[5];
   char unique[5];
} word;  


Word dictionary[10] = {
    {"speed", {1,1,2,1,0}, {'s','p', 'e', 'd', '!'}},
    {"crane", {1,1,1,1,1}, {'c', 'r', 'a', 'n', 'e'}},
    {"porte", {1,1,1,1,1}, {'p','o', 'r', 't', 'e'}},
    {"adult", {1,1,1,1,1}, {'a', 'd', 'u', 'l', 't'}},
    {"naive", {1,1,1,1,1}, {'n','a', 'i', 'v', 'e'}},
    {"glans", {1,1,1,1,1}, {'g', 'l', 'a', 'n', 's'}},
    {"thick", {1,1,1,1,1}, {'t','h', 'i', 'c', 'k'}},
    {"agony", {1,1,1,1,1}, {'a', 'g', 'o', 'n', 'y'}},
    {"spiky", {1,1,1,1,1}, {'s','p', 'i', 'k', 'y'}},
    {"child", {1,1,1,1,1}, {'c', 'h', 'i', 'l', 'd'}}
    };