{"id":21171856,"url":"https://github.com/pcmunoz/nodejs-toy-robot","last_synced_at":"2025-03-14T17:41:19.623Z","repository":{"id":84655902,"uuid":"496324707","full_name":"pcmunoz/nodejs-toy-robot","owner":"pcmunoz","description":"Place a robot on a table via CLI","archived":false,"fork":false,"pushed_at":"2022-05-26T00:43:40.000Z","size":105,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-21T10:51:22.147Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pcmunoz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-25T17:15:54.000Z","updated_at":"2022-05-25T17:32:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"78006f43-1d5d-42f7-9f65-8856af5fd406","html_url":"https://github.com/pcmunoz/nodejs-toy-robot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcmunoz%2Fnodejs-toy-robot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcmunoz%2Fnodejs-toy-robot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcmunoz%2Fnodejs-toy-robot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcmunoz%2Fnodejs-toy-robot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pcmunoz","download_url":"https://codeload.github.com/pcmunoz/nodejs-toy-robot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243622632,"owners_count":20321002,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-20T16:16:59.609Z","updated_at":"2025-03-14T17:41:19.617Z","avatar_url":"https://github.com/pcmunoz.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Toy Robot Challenge\n\nPlace a robot on a table. Move it in any direction within the table. The robot will not fall during movement.\n\n==Note: PLACE first the robot to use other commands. QUIT command will always work.==\nPoint 0,0 is on the SOUTH WEST corner. Out of bounds is negative position and max table dimension(x,y).\nMax table config can be found on _src\\config.ts_. If config file is edited, build and run to reflect change.\n\nInstall, Build and Run\n\n## Installation\n\n\u003e npm install\n\n## Build and Run\n\n\u003e npm run start\n\n#### Build only\n\n\u003e npm run build\n\n#### Run only\n\n\u003e npm run build:run\n\n## Commands\n\n#### PLACE X,Y,DIRECTION\n\nThis will place the robot in the table on x,y coordinates and the direction.\nIf x,y is not within the table, robot will not be placed.\n\n#### MOVE\n\nThis will move the robot **one unit on the direction** it is facing.\n\n#### LEFT\n\nThis will rotate the direction of the robot to the left. E.g. North -\u003e West\n\n#### RIGHT\n\nThis will rotate the direction of the robot to the right. E.g. North -\u003e East\n\n#### REPORT\n\nThis will show the current position and direction of the robot.\n\n#### QUIT\n\nThe end.\n\n## Run Test\n\n\u003e npm run test\n\n## Lint\n\n#### Check\n\n\u003e npm run lint\n\n#### Fix\n\n\u003e npm run lint:fix\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcmunoz%2Fnodejs-toy-robot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpcmunoz%2Fnodejs-toy-robot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcmunoz%2Fnodejs-toy-robot/lists"}