/rover-challenge

Mars rover CLI interface built with Node.js

Primary LanguageJavaScript

MARS ROVER CHALLENGE

Simple implementation of the Mars Rover challenge in Node.js.

Usage: Clone the repo, run npm install.

node src/main.js args

Accepted arguments are: Set of Coordinates - x, y, direction (optional) Direction (N, E, S or W) String of movement instructions (M for movement, R to rotate right, L to rotate left)