{"id":19380828,"url":"https://github.com/starvader/mars-rover-java","last_synced_at":"2025-06-12T18:34:38.153Z","repository":{"id":98565209,"uuid":"55503924","full_name":"starVader/Mars-rover-Java","owner":"starVader","description":null,"archived":false,"fork":false,"pushed_at":"2016-04-06T12:11:57.000Z","size":4,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-12T18:34:37.097Z","etag":null,"topics":["java","mars-rover"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/starVader.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-04-05T11:54:43.000Z","updated_at":"2020-11-06T13:44:37.000Z","dependencies_parsed_at":"2023-03-09T16:15:17.856Z","dependency_job_id":null,"html_url":"https://github.com/starVader/Mars-rover-Java","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/starVader/Mars-rover-Java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starVader%2FMars-rover-Java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starVader%2FMars-rover-Java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starVader%2FMars-rover-Java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starVader%2FMars-rover-Java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/starVader","download_url":"https://codeload.github.com/starVader/Mars-rover-Java/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starVader%2FMars-rover-Java/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259519290,"owners_count":22870331,"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":["java","mars-rover"],"created_at":"2024-11-10T09:14:56.491Z","updated_at":"2025-06-12T18:34:38.135Z","avatar_url":"https://github.com/starVader.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mars-rover-Java\n\n\nA squad of robotic rovers are to be landed by NASA on a plateau on Mars. \nThis plateau, which is curiously rectangular, must be navigated by the\nrovers so that their on-board cameras can get a complete view of the\nsurrounding terrain to send back to Earth.\n\nA rover's position and location is represented by a combination of x and y \nco-ordinates and a letter representing one of the four cardinal compass\npoints. The plateau is divided up into a grid to simplify navigation. An\nexample position might be 0, 0, N, which means the rover is in the bottom \nleft corner and facing North.\n\nIn order to control a rover, NASA sends a simple string of letters. The\npossible letters are 'L', 'R' and 'M'. 'L' and 'R' makes the rover spin 90 \ndegrees left or right respectively, without moving from its current spot.\n'M' means move forward one grid point, and maintain the same heading.\n\nAssume that the square directly North from (x, y) is (x, y+1). \n\nINPUT:\nThe first line of input is the upper-right coordinates of the plateau, the\nlower-left coordinates are assumed to be 0,0.\n\nThe rest of the input is information pertaining to the rovers that have\nbeen deployed. Each rover has two lines of input. The first line gives the\nrover's position, and the second line is a series of instructions telling\nthe rover how to explore the plateau.\n\nThe position is made up of two integers and a letter separated by spaces, \ncorresponding to the x and y co-ordinates and the rover's orientation.\n\nEach rover will be finished sequentially, which means that the second rover\nwon't start to move until the first one has finished moving. \n\n\nOUTPUT\nThe output for each rover should be its final co-ordinates and heading.\n\nINPUT AND OUTPUT\n\nTest Input:\n5 5\n1 2 N\nLMLMLMLMM\n3 3 E\nMMRMMRMRRM\n\nExpected Output:\n1 3 N \n5 1 E\n=========\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarvader%2Fmars-rover-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstarvader%2Fmars-rover-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarvader%2Fmars-rover-java/lists"}