Last active
August 27, 2023 04:28
-
-
Save eggplants/f7a4e6c4a4ef5bc8d8750657f190684a to your computer and use it in GitHub Desktop.
Cheat for https://moon-sweeper.com/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const sweepBomb = (i, j) => document.getElementsByTagName("tr")[i].getElementsByTagName("td")[j].click(); | |
const sweep = () => { | |
document.getElementById("restartBtn").click(); | |
for(var i = 0; i < 15; i++) { | |
for(var j = 0; j < 15; j++) { | |
if(bomb_data[i][j] == 0){ | |
sweepBomb(i,j); | |
}; | |
}; | |
}; | |
}; |
Author
eggplants
commented
Aug 27, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment