Its a terminal level game in which the user has to guess the jumbled word from the given set of words.
The code is divided in sets of functions so to run the code and to get the desired output you have to run all the functions , I'll combine the code together.