Skip to content

A program about a lonely imaginary robotic hoover that wakes up trapped in an imaginary room needing cleaning. Unsure of what to do next, the hoover simply starts doing what it knows best -- cleaning.

zach-gay/The-Roomba-Problem

Repository files navigation

The Roomba Problem

A program about a lonely imaginary robotic hoover that wakes up trapped in an imaginary room needing cleaning. Unsure of what to do next, the hoover simply starts doing what it knows best -- cleaning.

Testing Instructions

  1. Read/perform the steps found in the Prerequisites section below.
  2. After cloning the repository, navigate in the command prompt to the directory in which you cloned the repo.
  3. Run the command npm install. This will install all dependencies needed to run the program.
  4. You are now ready to run the program. Run node TheRoombaProblem.js <file-name> where <file-name> is a text file containing the roomba problem information. This text file must live in the root of the repository. An example is included with the repository called input.txt. To run this example, run node TheRoombaProblem.js input.txt.
  5. To run more tests, simply create more text files at the root of the repository and run the command found in Step 4 with the appropriate file name.

Prerequisites

  • In this README file, anytime you see the term command prompt, that is referencing the Windows command prompt. If you are on a Mac, the equivalent of the command prompt would be the terminal. If you on a Linux, the equivalent of the command prompt would be the bash. Use the appropriate command line interface based on your OS.
  • Validate that you have Node installed on your system. If you are unsure, see my notes in the Installing Node section below.
  • Finally, download a copy of this repository and save it to your local file system. If you are tech savvy, clone the repository.

Installing Node

  1. Navigate to the Node.js downloads page found here: https://nodejs.org/en/download/
  2. Download the LTS version of Node for the appropriate OS you are using.
  3. Run the executable that is downloaded. Follow the steps as prescribed in the install wizard.
  4. After installation, open up your command prompt. Type "node -v" and press enter. The version of Node running on your machine should be outputted in the console.

About

A program about a lonely imaginary robotic hoover that wakes up trapped in an imaginary room needing cleaning. Unsure of what to do next, the hoover simply starts doing what it knows best -- cleaning.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published