/robot

Clean the room based on instructions given

Primary LanguageJavaScript

Instructions:

https://gist.github.com/DavidJSimpsonEsq/71dcf396a2303ad5edd08690289d016d

How to run:

  • Open index.html in the browser & view console in dev tools - _On Chrome, you will have to run this on a server (because of CORS issues with using fetch). Firefox should work without having to run a server.
  • The expected output is also seen in the html page.
  • You can change the instructions to the Robot in input.txt