Skip to content

Commit

Permalink
✨ feat: 코인 기능 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
khr0923 committed Apr 28, 2024
1 parent 8e7bb52 commit aeaf489
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions js/tetris.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ function resumeGame() {
function restartGame() {
if(coin > 0) {
coin -= 1;
// coinTetris.innerText = coin;
//coinTetris.textContent = coin; //textContent로 해야될거 같은데 오류 발생..
console.log("테트리스-코인: " + coin);
const gameControls = document.getElementById("game-controls");
gameControls.classList.add("hide");
Expand Down

0 comments on commit aeaf489

Please sign in to comment.