Implementare il famosissimo gioco WORDLE.
Ogni tentativo deve avere 4 lettere valide, il colore della lettera deve cambiare secondo le seguenti regole:
- VERDE: la lettera è contenuta nella soluzione nella posizione giusta
- GIALLO: la lettera è contenuta nella soluzione ma NON nella posizione giusta
- GRIGIO: la lettera NON è contenuta nella soluzione
La soluzione è la parola CODE come descritto a riga 27
npm install
node index.mjs