Skip to content

Commit 4268c3b

Browse files
committed
updated UI text
1 parent ff9d4a3 commit 4268c3b

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

‎app.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ function App() {
277277
board.innerHTML += `
278278
<div class='pattern-canvas'></div>
279279
<div class='audio-controls'>
280-
<button class='play-btn'>Listen now</button>
280+
<button class='play-btn'>Play Loop</button>
281281
<div class='volume-control'>
282282
<span class='volume-icon'>🔊</span>
283283
<input type='range' class='volume-slider' min='0' max='100' value='${game.getVolume() * 100}'>
@@ -327,7 +327,7 @@ function App() {
327327
// Reset UI
328328
patternGrid.updatePlayingCursor(-1);
329329
const playButton = board.querySelector(".play-btn");
330-
playButton.textContent = "Listen now";
330+
playButton.textContent = "Play Loop";
331331
playButton.blur();
332332
};
333333

‎index.html‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,8 @@ <h2>Woo-hoo, you finished the game, congrats!</h2>
2121
</div>
2222

2323
<p>
24-
<strong>How to play:</strong> Listen to the drum loop attentively, then
25-
click on the boxes until their pattern matches the loop sequence. For
26-
best results, plug-in your headphones.
24+
<strong>Goal:</strong> Listen to the loop and recreate the rhythm by clicking the sequence boxes.
25+
<strong>Tip:</strong> Every active step must match perfectly to clear the level. Use headphones for the best experience.
2726
</p>
2827
</section>
2928

0 commit comments

Comments
 (0)