为给定的一组词汇生成一个单词查找游戏，其中包含隐藏的单词和提示。用户可以通过在页面上点击字母来猜测单词。游戏应该使用HTML和JavaScript进行实现。


词汇列表：['Python', 'programming', 'language', 'computer', 'code']
以下为简单的单词查找游戏实现的HTML和JavaScript代码：

```html
<!DOCTYPE html>
<html>
<head>
	<title>Word Search Game</title>
	<meta charset="UTF-8">
	<style>
		/*样式表*/
		body {
			font-family: Arial, sans-serif;
			text-align: center;
		}
		h1 {
			color: #777;
		}
		#word-container {
			margin-top: 30px;
			font-size: 2em;
			font-weight: bold;
			margin-bottom: 20px;
		}
		#letter-container {
			display: flex;
			flex-wrap: wrap;
			justify-content: center;
			margin-bottom: 40px;
		}
		.letter {
			width: 50px;
			height: 50px;
			margin: 5px;
			font-size: 1.5em;
			font-weight: bold;
			color: #fff;
			background-color: #777;
			border-radius: 5px;
			display: flex;
			align-items: center;
			justify-content: center;
			cursor: pointer;
			transition: background-color 0.3s ease;
		}
		.letter:hover {
			background-color: #555;
		}
		.hidden {
			color: transparent;
		}
	</style>
</head>
<body>
	<h1>Word Search Game</h1>
	<div id="word-container"></div>
	<div id="letter-container"></div>

	<script>
		const words = ['Python', 'programming', 'language', 'computer', 'code'];
		let currentWord;
		let letters = [];		
        
		function generateWord() {
			currentWord = words[Math.floor(Math.random() * words.length)];
            //生成随机单词
			let wordContainer = document.getElementById('word-container');
			let hiddenWord = "";
			for (let i = 0; i < currentWord.length; i++) {
				let letter = currentWord[i].toUpperCase();
				if (letter === " ") {
					hiddenWord += " ";
				} else {
					hiddenWord += "<span class='hidden'>" + letter + "</span>";
                    //将字母隐藏
				}
			}
			wordContainer.innerHTML = hiddenWord; //将单词放入文档中
		}

		function generateLetters() {
			let letterContainer = document.getElementById('letter-container');
			let alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
			let lettersArray = alphabet.split("");
            //生成字母表
			for (let i = 0; i < lettersArray.length; i++) {
				let letter = lettersArray[i];
				let div = document.createElement('div');
				div.setAttribute('class', 'letter');
				div.innerHTML = letter;
				div.addEventListener('click', function() {
					checkLetter(letter);
				});
				letterContainer.appendChild(div);
			}
		}

		function checkLetter(letter) {
			let letterIndex = letters.indexOf(letter);
			if (letterIndex !== -1) {
				alert("You have already chosen this letter!");
				return;
              //检查字母是否已被选中
			}
			letters.push(letter);
			let hiddenLetters = document.getElementsByClassName("hidden");
			let letterFound = false;
			for (let i = 0; i < hiddenLetters.length; i++) {
				let hiddenLetter = hiddenLetters[i];
				if (hiddenLetter.innerHTML.toUpperCase() === letter) {
					hiddenLetter.classList.remove("hidden");
					letterFound = true;
				}
			}
			if (!letterFound) {
				alert("Oops! That letter is not in the word.");
			} else {
				checkWin();
			}
		}

		function checkWin() {
			let hiddenLetters = document.getElementsByClassName("hidden");
			if (hiddenLetters.length == 0) {
				alert("Congratulations! You found the word: " + currentWord);
				resetGame();
			}
		}

		function resetGame() {
			let wordContainer = document.getElementById('word-container');
			wordContainer.innerHTML = "";
			let letterContainer = document.getElementById('letter-container');
			letterContainer.innerHTML = "";
			letters = [];
			generateWord();
			generateLetters();
		}

		generateWord();
		generateLetters();

	</script>
</body>
</html>
```

这个游戏生成了一个词汇表，选择一个随机单词进行游戏。 所有单词都被折叠，只有字母被表示为样式表中的"hidden"类。用户可以点击字母，系统检查该字母是否包含在单词中。 如果单词包含该字母，则系统将该字母的所有实例从隐藏更改为可见。 如果单词不包含该字母，则在底部弹出警告消息。 如果所有字母都被找到，则弹出祝贺消息。