Skip to content

Commit

Permalink
trying to fix holes
Browse files Browse the repository at this point in the history
  • Loading branch information
JoanaluzT committed Jun 14, 2024
1 parent 7175908 commit b9a4b58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ function setDuration(duration) {
function stopGame(){
// stopAudio(song); //optional
clearInterval(timer);
return "game stopped";
return "game ended";
}

/**
Expand Down Expand Up @@ -298,6 +298,7 @@ function startGame(){


startButton.addEventListener("click", startGame);
if ( !testMode ) setEventListeners();


// Please do not modify the code below.
Expand Down
2 changes: 1 addition & 1 deletion src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,5 @@ h2 {

.hole.show .mole {
top: 0;
/*transform: scale(1.1);*/
transform: scale(1.1);
}

0 comments on commit b9a4b58

Please sign in to comment.