I have created a program in prolog that plays wordle. The user chooses a word, the computer guesses a word and the user tells what the colors of the letters are. The words the computer guesses are all unbound variables:
?- wordle(X).
_551
|:
What should I do to fix this?
New contributor
Aniket Yeleswarapu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.