Skip to content
/ robot Public

A small, simple exercise to show some of my node/javascript skills

License

Notifications You must be signed in to change notification settings

tgarbiak/robot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Robot

A small, simple exercise to show some of my node/javascript skills.

Rules

We have a field, unlimited in size, and a remotely controlled robot. Robot can only operate in the range of the radio towers present on the field.

Program's task

User provides number of towers on the field, location and range of each tower and also a start and end point of the route that robot is supposed to go through. Program's task is to tell if, given the location of towers and their range, such trip is possible.

Running it

Download, open the folder, run npm install and then iojs ./robot.js. Tested using io.js 1.8.3

Cool stuff

io.js, some ES6, some functional programming magic (currying), bluebird, lodash.

Not so cool stuff

No tests, some errors are not handled properly, some naming issues.

License

GPLv3

About

A small, simple exercise to show some of my node/javascript skills

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published