Simplistic example of a robot walking around a table from entrance up to the exit.
- NodeJS 4.2.3 LTS
- Tested under Mac OSX 10.11.1 (El Capitan) and Fedora 23
- Go to https://nodejs.org/en/download then download and install appropriate version (both in Windows and Mac is a one file installer).
- Download sources from https://nodejs.org/en/download and run following command to install it:
$ ./configure && make && make install
- Test that NodeJS was correctly installed in your system executing following command (it must print v4.2.3):
$ node -v
- On application root path, run following command to download application dependencies
$ npm install
- On application root path, run following command to execute a file with commands
$ npm start <FILE_PATH>
(by default will execute input.txt file)
- On application root path, run following command to run tests
$ npm test
- On application root path, run following command to generate code coverage site
$ npm run coverage
- To run Example A (described in PROBLEM.md), execute:
$ npm run example_a
- To run Example B (described in PROBLEM.md), execute:
$ npm run example_b
- To run Example C (described in PROBLEM.md), execute:
$ npm run example_c
- To run additional set A, execute:
$ npm run additional_a
- To run additional set B, execute:
$ npm run additional_b