{"id":15502042,"url":"https://github.com/prodis/toy_robot","last_synced_at":"2025-03-28T18:18:57.220Z","repository":{"id":66942160,"uuid":"61256764","full_name":"prodis/toy_robot","owner":"prodis","description":"A simulation of a toy robot moving on a square tabletop.","archived":false,"fork":false,"pushed_at":"2016-06-16T02:49:46.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-02T18:44:54.537Z","etag":null,"topics":["prodis","ruby","simulation","toy-robot"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/prodis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-06-16T02:45:22.000Z","updated_at":"2018-10-01T07:31:21.000Z","dependencies_parsed_at":"2023-03-06T04:15:21.122Z","dependency_job_id":null,"html_url":"https://github.com/prodis/toy_robot","commit_stats":{"total_commits":2,"total_committers":2,"mean_commits":1.0,"dds":0.5,"last_synced_commit":"250326200f75f24b114377831c982934d8ad4127"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prodis%2Ftoy_robot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prodis%2Ftoy_robot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prodis%2Ftoy_robot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prodis%2Ftoy_robot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prodis","download_url":"https://codeload.github.com/prodis/toy_robot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246076931,"owners_count":20719894,"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":["prodis","ruby","simulation","toy-robot"],"created_at":"2024-10-02T09:07:19.316Z","updated_at":"2025-03-28T18:18:57.190Z","avatar_url":"https://github.com/prodis.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Toy Robot Simulator\nA simulation of a toy robot moving on a square tabletop.\n\nFor more details, see [Toy Robot Simulator Description](toy_robot.md).\n\n## Dependencies\n* Ruby 2.3.1\n\n## Setup\n```\ngit clone https://github.com/prodis/toy_robot.git\ncd toy_robot\nbundle install\n```\n\n## Running\n`ruby main.rb [commands.txt]`\n\nInside `data` directory there are some test case files.\n\nExample:\n```\n$ ruby main.rb data/test_case3.txt\nOutput: 3,3,NORTH\n```\nNote that at the end of each input file in `data` directory is the expected result. I did it in order to a easy understanding.\n\nReally this \"invalid commands\" at the end of the input files are ignored by the simulator.\n\n## Testing\n`bundle exec rspec`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprodis%2Ftoy_robot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprodis%2Ftoy_robot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprodis%2Ftoy_robot/lists"}