This is the frontend of the microscope problem which helps simulate a remote microscope.
For development, you will need React.js, npm and Node.js installed in your environement.
- You can find more information about the installation on the official Node.js website and the official NPM website.
$ git clone https://github.com/VatsalSin/microscope-frontend.git
$ cd microscope-frontend
$ npm install
$ npm install --force
$ npm start
Following assumptions were taken while solving the problem:
- The start point will be (0,0) in CS terms and (1,1) on pathologist slide shown on UI
- The starting point won't be marked as visited initially, only if we visit it again it will be marked as visited and other operation will happen
- Machine (in this case backend) is source of truth, if miscofiguration happens at any place (only frontend in this case) will sync with backend.