{"id":19840950,"url":"https://github.com/torvaney/langtons-ant","last_synced_at":"2025-02-28T19:21:18.961Z","repository":{"id":133824114,"uuid":"84386256","full_name":"Torvaney/langtons-ant","owner":"Torvaney","description":"An implementation of Langton's ant in elm","archived":false,"fork":false,"pushed_at":"2017-03-09T02:07:00.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-11T11:37:58.340Z","etag":null,"topics":["elm-lang"],"latest_commit_sha":null,"homepage":null,"language":"Elm","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/Torvaney.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":"2017-03-09T02:00:18.000Z","updated_at":"2017-03-09T11:36:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"4b0d4c00-ef14-4051-ba15-24b640ba75f4","html_url":"https://github.com/Torvaney/langtons-ant","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/Torvaney%2Flangtons-ant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torvaney%2Flangtons-ant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torvaney%2Flangtons-ant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torvaney%2Flangtons-ant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Torvaney","download_url":"https://codeload.github.com/Torvaney/langtons-ant/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241210222,"owners_count":19927808,"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":["elm-lang"],"created_at":"2024-11-12T12:28:48.015Z","updated_at":"2025-02-28T19:21:18.939Z","avatar_url":"https://github.com/Torvaney.png","language":"Elm","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Langton's Ant\n\nAn implementation of Langton's ant in elm.\n\nThe algorithm is described below:\n\n\u003e Squares on a plane are colored variously either black or white. We arbitrarily identify one square as the \"ant\". The ant can travel in any of the four cardinal directions at each step it takes. The \"ant\" moves according to the rules below:\n\u003e\n\u003e * At a white square, turn 90° right, flip the color of the square, move forward one unit\n\u003e * At a black square, turn 90° left, flip the color of the square, move forward one unit\n\n(From [Wikipedia](https://en.wikipedia.org/wiki/Langton's_ant))\n\nCreated as part of the [Elm London Hack Night (08/03/2017)](https://www.meetup.com/Elm-London-Meetup/events/238138374/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorvaney%2Flangtons-ant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftorvaney%2Flangtons-ant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorvaney%2Flangtons-ant/lists"}