Skip to content

Commit

Permalink
Basic code added
Browse files Browse the repository at this point in the history
  • Loading branch information
System05Pentium committed Nov 11, 2024
1 parent fd96014 commit 1162882
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Script.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ function wallData(row,col){
if(row==0 || col==0 || row==max-1 || col==max-1){
// document.getElementById(row+","+col).style.backgroundColor="yellow"
}else{
resetall()
object=document.getElementById(row+","+col);
if(object.classList.contains("wall")){
object.classList.remove("wall")
Expand Down

0 comments on commit 1162882

Please sign in to comment.