The terminal setting made me think of the old Adventure games from the days when such terminals were common. So I used that as mt inspiration. Of course, this represents a tiny part of such a game but it does the job. Feel free to have a go if you like, if you do it may be useful to know that the anagram words are mostly related to the D&D/Adventure type theme.
I may come back to revisit it (possibly) and if so one idea that I had is to keep a single word for a number of tries and tell the user how many positions of letters he got right, making it a bit like a Mastermind type game.