{"id":18123197,"url":"https://github.com/gemartin99/so_long","last_synced_at":"2025-07-03T13:03:05.628Z","repository":{"id":44561687,"uuid":"511499846","full_name":"gemartin99/So_long","owner":"gemartin99","description":"2D'game where the objective is gather all the targets in order to escape of the map.","archived":false,"fork":false,"pushed_at":"2022-11-01T00:55:24.000Z","size":4447,"stargazers_count":14,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-26T00:03:32.838Z","etag":null,"topics":["2d-game","42barcelona","42cursus","42projects","42school","42solong","educational-game","educational-project"],"latest_commit_sha":null,"homepage":"","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/gemartin99.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}},"created_at":"2022-07-07T11:26:50.000Z","updated_at":"2025-04-03T14:58:40.000Z","dependencies_parsed_at":"2023-01-21T00:16:03.342Z","dependency_job_id":null,"html_url":"https://github.com/gemartin99/So_long","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gemartin99/So_long","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemartin99%2FSo_long","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemartin99%2FSo_long/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemartin99%2FSo_long/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemartin99%2FSo_long/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gemartin99","download_url":"https://codeload.github.com/gemartin99/So_long/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemartin99%2FSo_long/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261973725,"owners_count":23238586,"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":["2d-game","42barcelona","42cursus","42projects","42school","42solong","educational-game","educational-project"],"created_at":"2024-11-01T07:08:29.956Z","updated_at":"2025-06-26T00:04:11.540Z","avatar_url":"https://github.com/gemartin99.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎮 So_long\n\n## Descripción\n\nEste proyecto consiste en la creacion de un juego 2D en el cual tienes que recoger todos los consumibles y escapar en la menor cantidad de movimientos posibles.\nTambien cuenta con la parte bonus en donde se tienen que añadir sprites, la cantidad de movimientos en el juego y enemigos.\n\n![](https://github.com/gemartin99/So_long/blob/master/so_long.gif)\n\n## 🔻 Para poder jugar 🔻\n\nDebes disponer de mapas con la extension ```.ber``` en los cuales se deben de cumplir los siguientes parametros:\n\n◦ Todo el mapa debe estar rodeado de paredes ☞ '1'\n\n◦ Debe contener un jugador ☞ 'P'\n\n◦ Debe contener una o más salidas ☞ 'E'\n\n◦ Debe contener al menos un consumible ☞ 'C'\n\nUn ejemplo de un mapa valido \n\n\u003cimg width=\"193\" alt=\"Screen Shot 2022-07-11 at 4 25 27 PM\" src=\"https://user-images.githubusercontent.com/66915274/178287279-4e047af5-b1fb-4186-a880-fbaf62c9a461.png\"\u003e\n\nUn ejemplo de un mapa erroneo\n\n\u003cimg width=\"70\" alt=\"Screen Shot 2022-07-11 at 4 27 37 PM\" src=\"https://user-images.githubusercontent.com/66915274/178287735-fbad6277-d964-4146-a3b6-daeec7094083.png\"\u003e\n\nPara compilar el juego con la versión sin enemigos ↙️\n\n```bash\n$ make\n```\nPara compilar el juego con la versión con enemigos \u003cimg width=\"18\" alt=\"enemy\" src=\"https://user-images.githubusercontent.com/66915274/178278512-cc1cead2-3500-48d0-a2e2-5e9295860635.png\"\u003e\n ↙️\n```bash\n$ make bonus\n```\nUna vez ya has compilado deberas ejecutar el programa seguido del mapa 🗺️\n```bash\n$ ./so_long map.ber\n```\n## Controles 🕹\n\n|TECLA|ACCION|\n|---|---|\n|`W`, ⬆️|Arriba|\n|`A`, ⬅️|Izquierda|\n|`S`, ⬇️|Abajo|\n|`D`,  ➡️ |Derecha|\n|`ESC ❌`|Cierra la ventana|\n\n### Ya puedes disfrutar de SO_LONG 🎮❗️\n\n# Quizás pueda interesarte!\n\n### - Para ver mi progresion en el common core 42 ↙️\n\n[AQUÍ](https://github.com/gemartin99/42cursus)\n\n### - Mi perfil en la intranet de 42 ↙️\n[AQUÍ](https://profile.intra.42.fr/users/gemartin)\n\n### - Contacto 📥\n\n◦ Email: gemartin@student.42barcelona.com\n\n◦ Linkedin: https://www.linkedin.com/in/gemartin99/\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgemartin99%2Fso_long","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgemartin99%2Fso_long","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgemartin99%2Fso_long/lists"}