This project simulates multiple Mars rovers navigating on a plateau based on provided instructions.
To get started with the Mars Rover simulation, follow these instructions.
- Node.js installed on your machine.
- Clone the repository:
git clone https://github.com/douglas-henrique/mars-rover
cd mars-rover
- Install dependencies:
npm install`
You can run the Mars Rover simulation with the provided example or your own data.
Modify the src/main
file to customize the plateau dimensions and rover data:
let plateauWidth = 5;
let plateauHeight = 5;
Run the simulation using Node.js:
yarn run simulate
This project uses Jest for unit testing. To run tests, use:
yarn test