cloze-reader / test-duplication-fix.html
milwright's picture
Fix duplicate answer display bug
afac52e
raw
history blame
851 Bytes
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Test Duplication Fix</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-gray-100 p-8">
<div class="max-w-4xl mx-auto">
<h1 class="text-2xl font-bold mb-4">Testing Answer Duplication Fix</h1>
<div id="app"></div>
</div>
<script type="module">
import ClozeGameEngine from './src/clozeGameEngine.js';
import ClozeGameUI from './src/app.js';
// Initialize the game
const game = new ClozeGameEngine();
const ui = new ClozeGameUI(game);
console.log('Game initialized. Try submitting answers multiple times to test for duplication.');
</script>
</body>
</html>