Skip to content

Commit

Permalink
Update Script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mrabhin03 authored Nov 11, 2024
1 parent 5cef847 commit 728ff5b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Script.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ async function findWay(){
start=Exits[0];
if(!(await nextMove(start[0],start[1]))){
alert('No Path Found')
reset=true;
}else{
finished()
}
Expand Down Expand Up @@ -190,6 +191,8 @@ async function fastWay() {
console.log(path);
await removeNonPath(path);
} else {
alert('No Path Found')
reset=true;
}
}

Expand Down

0 comments on commit 728ff5b

Please sign in to comment.