Sure! Here's an example of a word search game using HTML and JavaScript that meets your requirements:
Word Search Game
This code will create a word search grid with the words "love," "dream," and "faith" hidden in random directions. You can click on the cells to highlight and mark the words as you find them. Once all the words have been found, an alert will congratulate you on completing the game.