File size: 851 Bytes
afac52e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!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>