Autodesk interview question

Write a code to implement wordle