diff --git a/app/page.tsx b/app/page.tsx index 76e7061..945c252 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -186,73 +186,6 @@ export default function Home() { } } } - - // if (direction[0] === 1 && direction[1] === 0) { - // // move down - // createRoot(nodeElement).render( - // , - // ); - // } else if (direction[0] === -1 && direction[1] === 0) { - // //move up - - // createRoot(nodeElement).render( - // , - // ); - // } else if (direction[0] === 0 && direction[1] === 1) { - // // move right - // createRoot(nodeElement).render( - // , - // ); - // } else if (direction[0] === 0 && direction[1] === -1) { - // // move left - // createRoot(nodeElement).render( - // , - // ); - // } else if (direction[0] === 1 && direction[1] === 1) { - // //move down right - // createRoot(nodeElement).render( - // , - // ); - // } else if (direction[0] === 1 && direction[1] === -1) { - // //move down left - // createRoot(nodeElement).render( - // , - // ); - // } else if (direction[0] === -1 && direction[1] === 1) { - // // move up right - // createRoot(nodeElement).render( - // , - // ); - // } else if (direction[0] === -1 && direction[1] === -1) { - // // move up left - // createRoot(nodeElement).render( - // , - // ); - // } } }, 20 * i); } diff --git a/components/tutorial-modal.tsx b/components/tutorial-modal.tsx index c76c58c..fa31eb5 100644 --- a/components/tutorial-modal.tsx +++ b/components/tutorial-modal.tsx @@ -54,8 +54,9 @@ const TutorialModal = () => { <>
  • - Within this visualizer, users can seamlessly navigate the grid going - up, down, left, and right. + Within this visualizer, users can seamlessly navigate the grid, + restricted to movements in the cardinal directions of up, down, + left, and right.
  • It empowers individuals to engage with diverse pathfinding