{"id":19901250,"url":"https://github.com/vbrazhnik/lem_in","last_synced_at":"2025-09-08T19:33:12.609Z","repository":{"id":220985359,"uuid":"151307135","full_name":"VBrazhnik/Lem_in","owner":"VBrazhnik","description":"School 42 project // Paths finder to move ants from start room to end room with the least amount of steps","archived":false,"fork":false,"pushed_at":"2018-12-13T04:21:41.000Z","size":4426,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-08T19:33:04.229Z","etag":null,"topics":["42","42projects","42school","algorithm","born2code","pathfinder","sdl2","sdl2-gfx","sdl2-image","sdl2-ttf","unitfactory"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":false,"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/VBrazhnik.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}},"created_at":"2018-10-02T18:56:47.000Z","updated_at":"2020-10-23T12:03:14.000Z","dependencies_parsed_at":"2024-02-12T01:30:16.286Z","dependency_job_id":null,"html_url":"https://github.com/VBrazhnik/Lem_in","commit_stats":null,"previous_names":["vbrazhnik/lem_in"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/VBrazhnik/Lem_in","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VBrazhnik%2FLem_in","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VBrazhnik%2FLem_in/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VBrazhnik%2FLem_in/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VBrazhnik%2FLem_in/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VBrazhnik","download_url":"https://codeload.github.com/VBrazhnik/Lem_in/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VBrazhnik%2FLem_in/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274231437,"owners_count":25245585,"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","status":"online","status_checked_at":"2025-09-08T02:00:09.813Z","response_time":121,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["42","42projects","42school","algorithm","born2code","pathfinder","sdl2","sdl2-gfx","sdl2-image","sdl2-ttf","unitfactory"],"created_at":"2024-11-12T20:14:28.984Z","updated_at":"2025-09-08T19:33:12.572Z","avatar_url":"https://github.com/VBrazhnik.png","language":"C","readme":"# Lem_in\n\nLem_in is a School 42 project.\n\nThe purpose of this project is to find paths from start room to end room and to move ants by these paths with the least amount of steps.\n\n![Lem-in visualizer (Welcome screen)](images/lem-in_vs_(welcome_screen).png)\n\n[`lem-in.en.pdf`](/lem-in.en.pdf) is the task file.\n\n_**You can check [wiki-page](../../wiki/Algorithm) if you want to read description of created algorithm.**_\n\n### Features\n\n* Find all best paths in most cases\n* Move ants by found paths in an optimal way\n* Extended error messages\n* Verbose mode\n\n### How to run program?\n\n```\n./lem-in \u003c MAP_FILE\n```\n\n![Lem-in](images/lem-in.png)\n\n### Verbose mode\n\nProgram has **verbose mode**. In this mode program will display paths which were found.\n\n**How to enable verbose mode?**\n\n```\n./lem-in -v \u003c MAP_FILE\n```\n\n![Lem-in (Verbose mode)](images/lem-in_(verbose_mode).png)\n\n### Visualizer\n\nAlso this project has a visualizer.\n\nIt was written with **SDL2** library.\n\n**Prerequisites**\n\n* `brew install SDL2`\n* `brew install SDL2_ttf`\n* `brew install SDL2_image`\n* `brew install SDL2_gfx`\n\n**How to run visualizer?**\n\n```\n./lem-in \u003c MAP_FILE | ./vs\n```\n\n![Lem-in visualizer_(Main_screen)](images/lem-in_vs_(main_screen).png)\n\n**Vector files**\n\nVector files (.ai) of images, that were used as textures, you can find in [resources/vector](tree/master/resources/vector) folder.\n\n### How to clone?\n\nThis repository includes submodule. So if you want to clone it, you can use the following command:\n\n```\ngit clone --recurse-submodules \u003crepository url\u003e\n```\n\nIf you will use `git clone \u003crepository url\u003e` instead of, you will get the empty `libft` folder.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvbrazhnik%2Flem_in","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvbrazhnik%2Flem_in","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvbrazhnik%2Flem_in/lists"}