diff --git a/index.html b/index.html index a08cd56..c1dc580 100644 --- a/index.html +++ b/index.html @@ -306,6 +306,7 @@ + diff --git a/js/app.js b/js/app.js index 7c2a512..0b4b7c4 100644 --- a/js/app.js +++ b/js/app.js @@ -131,9 +131,9 @@ let playerActions = { moveRight: () => matrix.piece.move(TRANSLATION.RIGHT)? playSound(move) : playSound(hit), - rotateClockwise: () => matrix.piece.rotate(ROTATION.CW)? playSound(rotate) : playSound(hit), + rotateClockwise: () => matrix.piece.rotate(ROTATION.CW)? playSound(rotate) : playSound(spinend), - rotateCounterclockwise: () => matrix.piece.rotate(ROTATION.CCW)? playSound(rotate) : playSound(hit), + rotateCounterclockwise: () => matrix.piece.rotate(ROTATION.CCW)? playSound(rotate) : playSound(spinend), softDrop: () => (matrix.piece.move(TRANSLATION.DOWN) && ++stats.score)? playSound(move) : playSound(floor),