{"id":50312827,"url":"https://github.com/simonefelici/so_long","last_synced_at":"2026-05-28T22:02:23.780Z","repository":{"id":275339826,"uuid":"925727564","full_name":"SimoneFelici/so_long","owner":"SimoneFelici","description":"2D game","archived":false,"fork":false,"pushed_at":"2026-03-25T18:58:26.000Z","size":504,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-26T19:30:04.502Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/SimoneFelici.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-01T15:50:12.000Z","updated_at":"2026-03-25T18:58:30.000Z","dependencies_parsed_at":"2025-02-01T20:20:55.185Z","dependency_job_id":"d2b70439-ab50-4cac-bd57-1c9e5fe2dee6","html_url":"https://github.com/SimoneFelici/so_long","commit_stats":null,"previous_names":["simonefelici/so_long"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/SimoneFelici/so_long","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimoneFelici%2Fso_long","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimoneFelici%2Fso_long/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimoneFelici%2Fso_long/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimoneFelici%2Fso_long/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SimoneFelici","download_url":"https://codeload.github.com/SimoneFelici/so_long/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimoneFelici%2Fso_long/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33627948,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"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":[],"created_at":"2026-05-28T22:02:14.662Z","updated_at":"2026-05-28T22:02:23.771Z","avatar_url":"https://github.com/SimoneFelici.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"*This project has been created as part of the 42 curriculum by sfelici.*\n\n# so_long\n\n## Description\n\nso_long is a small 2D top-down game built in C using the MiniLibX graphics library. The player navigates a tile-based map, collecting all items before reaching the exit. The map is validated at launch using a Depth First Search algorithm to ensure a valid path exists. The project covers window management, event handling, textures, sprites, and basic gameplay logic.\n\nBonus features include enemy patrols that move when the player moves, a kill mechanic using a flint and steel (press `E` near an enemy), explosion animations, and a live move counter displayed on screen.\n\n## Instructions\n\n**Dependencies**\n\nMiniLibX requires the following packages on Linux:\n```\nsudo apt install libx11-dev libxext-dev\n```\n\n**Build**\n```\nmake\n```\n\n**Run**\n```\n./so_long maps/map.ber\n```\n\nThe map file must use the `.ber` extension and follow these rules:\n- Surrounded by walls (`1`)\n- Contains exactly one player (`P`), one exit (`E`), and at least one collectible (`C`)\n- Optionally contains enemy patrols (`V`)\n- Must have a valid path from `P` to `E` through all `C`\n\n**Controls**\n\n| Key | Action |\n|-----|--------|\n| `W` `A` `S` `D` | Move |\n| `E` | Attack adjacent enemy |\n| `ESC` | Quit |\n\n## Resources\n\n- [MiniLibX documentation](https://harm-smits.github.io/42docs/libs/minilibx)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonefelici%2Fso_long","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonefelici%2Fso_long","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonefelici%2Fso_long/lists"}