Skip to content

rai-roshan/hello-mars-

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MARS ROVER ( path finding visualizer )


check for yourself , project is live here
if found helpful a ⭐ would be committable ;)


Tech Stack Used


DISCLAIMER

This is just for learning purpose. Inspiration from Clément Mihailescu , you can check his tutorial for basic understatnding here

WHAT'S DIFFERENT

  1. Follows function component practice.
  2. Use of various react hooks.
  3. Optimized by avoiding unnecesary re-rendering of components. ( cells 25*52 )
  4. additional path finding algorithm.
  5. reposition of start and end point.
  6. toogle the algorithms to use diagonals paths.
  7. and many more small tweaks here and there ...


HOW TO RUN

  1. First Open a cmd prompt or terminal in root folder of this repo and Install Node Modules and dependencies using this cmd.

npm install

  1. After all packages are installed , in a same cmd promt / terminal run this cmd.

npm start

  1. Thats it , now the programming is running on the localhost:3000.

#THATS ALL , THANK YOU

  1. To check the final build in local dev use serve package

npm i serve

  1. now remove the "homepage" field from package.json file
  2. Now run the below cmd to run your build static file in your localhost

serve -s build



Meet the Algorithms

This application supports the following algorithms:

Dijkstra's Algorithm (weighted)

Breath-first Search (unweighted)

Depth-first Search (unweighted)

About

MARS ROVER , in a mission to MARS we have to take our mars rover vehicle from point A to B , avoiding obstacles in between and also using fuel efficiently by finding shortest path .

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 83.4%
  • CSS 14.0%
  • HTML 2.6%