diff --git a/src/main/c/Hangman/word_selector.c b/src/main/c/Hangman/word_selector.c index ec9c547..ed6d2ac 100644 --- a/src/main/c/Hangman/word_selector.c +++ b/src/main/c/Hangman/word_selector.c @@ -48,6 +48,30 @@ char wordsList_hard[NUM_WORDS][MAX_WORD_LENGTH + 1] = { "quarter" }; +// super hard words +char wordsList_super_hard[NUM_WORDS][MAX_WORD_LENGTH + 1] = { + "Cacophony", + "Rambunctious", + "Serendipity", + "Resilience", + "Discombobulate", + "Pernicious", + "Eccentricity", + "Mellifluous", + "Ineffable", + "Obfuscate", + "Quixotic", + "Paradoxical", + "Esoteric", + "Perspicacious", + "Indubitable", + "Incandescent", + "Vicissitude", + "Juxtaposition", + "Exacerbate", + "Epiphany" +}; + char* selectRandomWord(int difficulty) { // pick a random number and assign it to index of wordsList_easy array @@ -59,6 +83,8 @@ char* selectRandomWord(int difficulty) { return wordsList_easy[randomIndex]; case 2: return wordsList_hard[randomIndex]; + case 3: + return wordsList_super_hard[randomIndex]; default: printf("Invalid difficulty level. Using easy difficulty.\n"); return wordsList_easy[randomIndex];