/bashle

Primary LanguageShell

bashle

Attempt at a Wordle game through Bash scripting.

  1. Create or find an online 5 letter word database.
  2. Game randomly chooses a word from DB
  3. Game starts, game asks user to input a 5 letter word
  4. Once word is inputted, we check if the word inputted is in DB. If not in DB, throw error message and ask user to input again.
  5. Check each letter inputted against the letters in the word. Correct letters in the right spot are outputted in Green, correct letters in incorrect spot outputted in yellow.
    • need to lookup and think of a proper algorithm
  6. Game loops 5 times, if user cannot find word, game ends.