Skip to content

Commit 562cf50

Browse files
committed
showing signs of functionality but im toot ried now
1 parent d74c114 commit 562cf50

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Games/Minesweeper/Minesweeper.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -211,21 +211,21 @@ function setEmoji(emoji) {
211211
}
212212
}
213213

214-
function countRemainingFields(){
214+
function countRemainingFields() {
215215
return lineartiles.filter(function(tile){return !tile.mine && !tile.revealed}).length;
216216
}
217217

218-
function countBombs(){
218+
function countBombs() {
219219
return lineartiles.filter(function(tile){ return tile.mine }).length;
220220
}
221221

222-
function activateTimer(){
222+
function activateTimer() {
223223
var timer = 0;
224224
displays[1].update(timer++);
225225
timerInterval = window.setInterval(function(){displays[1].update(timer++)}, 1000);
226226
}
227227

228-
function stopTimer(reset){
228+
function stopTimer(reset) {
229229
if(reset) displays[1].update(0);
230230
window.clearInterval(timerInterval);
231231
}

0 commit comments

Comments
 (0)