1function moveOutcome() {
2 let squares = document.querySelectorAll(".grid div");
3 if (checkForHits(squares)) {
4 alert("you hit something");
5 popup.style.display = "flex";
6 return clearInterval(interval);
7 } else {
8 moveSnake(squares);
9 }
10}
11