Spaces:
Sleeping
Sleeping
fix: remove passage tracking from UI
Browse files- Remove 'Passage 2/2' display from round info
- Keep internal passage tracking for game logic
- Simplify UI to show only level and difficulty
- src/app.js +2 -3
src/app.js
CHANGED
|
@@ -69,11 +69,10 @@ class App {
|
|
| 69 |
<strong>${roundData.title}</strong> by ${roundData.author}
|
| 70 |
`;
|
| 71 |
|
| 72 |
-
// Show level information
|
| 73 |
const blanksCount = roundData.blanks.length;
|
| 74 |
const difficultyText = blanksCount === 1 ? 'Easy' : blanksCount === 2 ? 'Medium' : 'Hard';
|
| 75 |
-
|
| 76 |
-
this.elements.roundInfo.innerHTML = `Level ${this.game.currentLevel} • ${passageInfo}${blanksCount} blank${blanksCount > 1 ? 's' : ''} • ${difficultyText}`;
|
| 77 |
|
| 78 |
// Show contextualization from AI agent
|
| 79 |
this.elements.contextualization.innerHTML = `
|
|
|
|
| 69 |
<strong>${roundData.title}</strong> by ${roundData.author}
|
| 70 |
`;
|
| 71 |
|
| 72 |
+
// Show level information without passage number
|
| 73 |
const blanksCount = roundData.blanks.length;
|
| 74 |
const difficultyText = blanksCount === 1 ? 'Easy' : blanksCount === 2 ? 'Medium' : 'Hard';
|
| 75 |
+
this.elements.roundInfo.innerHTML = `Level ${this.game.currentLevel} • ${blanksCount} blank${blanksCount > 1 ? 's' : ''} • ${difficultyText}`;
|
|
|
|
| 76 |
|
| 77 |
// Show contextualization from AI agent
|
| 78 |
this.elements.contextualization.innerHTML = `
|