- NodeJS v11.11.0
- JavaScript
- ESLint
- Prettier
- Husky
yarn install
const toyRobotSimualator = require("src/index.js");
toyRobotSimulator(`PLACE 0,0,NORTH
MOVE
LEFT
RIGHT
REPORT`);
// console logging the above result will yield 1,0,NORTH
yarn add toy-robot-simulator-js
const toyRobotSimulator = require('toy-robot-simulator-js');
toyRobotSimulator(`PLACE 0,0,NORTH
MOVE
LEFT
RIGHT
REPORT`);
// console logging the above result will yield 1,0,NORTH
yarn run test
MIT