My goal in creating and sharing this OSS with that world is to turn the automated home cleaning business on its head! Please find the instructions below and enjoy
This project is a simple one. There are two files in the RoombaWho directory.
- main.js
- input.txt
the main.js file is our only file for the project. It will look in the directory that you place it in for an input.txt file. It then will iterate through this file, identifying room dimensions, dirt plots, and navigation instructions. The output of which will indicate the RoombaWhos final position, in the room, and how many plots of dirt it cleaned.
Please make sure you have Node installed on your machine.
here is a link to help you get started, if you already dont have Node installed.
-
Download the project files to your computer
-
Open your terminal
-
Navigate to the RoombaWho/ directory
-
Execute the main.js file by entering
Node main.js