This is a basic challenge using JavaScript to create a 5x5 grid with a Robot which must be moved around on the grid but prevented from falling off.
the code is written in JS
- clone this repo
cd /ROBOT-JS
npm install
You can either add a list of moves into the input.txt
node index.js
OR
play the interactive version
node game.js
The original challenge can be found here: https://github.com/ioof-holdings/recruitment/wiki/Robot-Challenge