Guessing words game? Your suggestions

I want a player to guess several words from a certain amount of letters that he’s able to connect by touching with a mouse/touch. If he touches letters in the right order so a word from the list appears. How would you suggest to implement it in the most optimal way?