{"id":20269527,"url":"https://github.com/iker-gonzalez/cub3d","last_synced_at":"2026-06-12T09:31:33.338Z","repository":{"id":41279370,"uuid":"508982204","full_name":"iker-gonzalez/cub3d","owner":"iker-gonzalez","description":"Small simulated 3D game done using raycasting principles and inspired by the famous Wolfenstein 3D game","archived":false,"fork":false,"pushed_at":"2022-09-26T16:47:56.000Z","size":30108,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-28T16:35:16.728Z","etag":null,"topics":["42cursus","c","dda-algorithm","minilibx","raycasting"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iker-gonzalez.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-06-30T07:44:40.000Z","updated_at":"2022-07-23T12:01:10.000Z","dependencies_parsed_at":"2022-07-21T22:02:56.123Z","dependency_job_id":null,"html_url":"https://github.com/iker-gonzalez/cub3d","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iker-gonzalez/cub3d","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iker-gonzalez%2Fcub3d","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iker-gonzalez%2Fcub3d/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iker-gonzalez%2Fcub3d/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iker-gonzalez%2Fcub3d/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iker-gonzalez","download_url":"https://codeload.github.com/iker-gonzalez/cub3d/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iker-gonzalez%2Fcub3d/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34238712,"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-06-12T02:00:06.859Z","response_time":109,"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":["42cursus","c","dda-algorithm","minilibx","raycasting"],"created_at":"2024-11-14T12:25:38.541Z","updated_at":"2026-06-12T09:31:33.295Z","avatar_url":"https://github.com/iker-gonzalez.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n\t🧊 Cub3D 🧊\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003cb\u003e\u003ci\u003eDevelopment repo for 42cursus' cub3D project\u003c/i\u003e\u003c/b\u003e\u003cbr\u003e\n\tFor further information about 42cursus and its projects, please refer to \u003ca href=\"https://github.com/iker-gonzalez/42_cursus\"\u003e\u003cb\u003e42cursus repo\u003c/b\u003e\u003c/a\u003e.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003cimg alt=\"GitHub code size in bytes\" src=\"https://img.shields.io/github/languages/code-size/iker-gonzalez/cub3d?color=blueviolet\" /\u003e\n\t\u003cimg alt=\"Number of lines of code\" src=\"https://img.shields.io/tokei/lines/github/iker-gonzalez/cub3d?color=blueviolet\" /\u003e\n\t\u003cimg alt=\"Code language count\" src=\"https://img.shields.io/github/languages/count/iker-gonzalez/cub3d?color=blue\" /\u003e\n\t\u003cimg alt=\"GitHub top language\" src=\"https://img.shields.io/github/languages/top/iker-gonzalez/cub3d?color=blue\" /\u003e\n\t\u003cimg alt=\"GitHub last commit\" src=\"https://img.shields.io/github/last-commit/iker-gonzalez/cub3d?color=brightgreen\" /\u003e\n\u003c/p\u003e\n\n\u003ch3 align=\"center\"\u003e\n\t\u003ca href=\"#%EF%B8%8F-about\"\u003eAbout\u003c/a\u003e\n\t\u003cspan\u003e · \u003c/span\u003e\n\t\u003ca href=\"#%EF%B8%8F-usage\"\u003eUsage\u003c/a\u003e\n  \u003cspan\u003e · \u003c/span\u003e\n\t\u003ca href=\"#game\"\u003eGame\u003c/a\u003e\n\u003c/h3\u003e\n\n---\n\n## 🗣️ About\n\n\u003e Small simulated 3D game inspired by the famous [Wolfenstein 3D game](https://www.youtube.com/watch?v=561sPCk6ByE). We need to create a \"realistic\" 3D graphical representation of the inside of a maze from a first person perspective, using ray casting principles.\n\n![Game](https://github.com/iker-gonzalez/cub3d/blob/main/game.gif)\n\nFor detailed information, refer to the [**subject of this project**](https://github.com/iker-gonzalez/42_cursus/blob/main/_PDFs/en.subject_cub3d.pdf)\n\n\n ## 🛠️ Usage\nClone the repository in your computer using the following command:\n\n`git clone https://github.com/iker-gonzalez/cub3d.git`\n \nThen, you need to run the command `make` on the root directory.\n\nThis will compile the executable file `cub3d`\n\nLast, run `./cub3d maps/map_of_your_choice`\n\n\n## Game\nTo play this game you can use any map of your choice as long as follows the following rules:\n\n* The extension needs to be `.cub`\n* It must be surrounded by walls `1`\n* Characters allowed:\n\n|  Character  |          Object                         |\n|:-----------:|:---------------------------------------:|\n|     *1*     | wall                                    |\n|     *0*     | Empty                                   |\n|     *N*     | Player starting position (north facing) |\n|     *E*     | Player starting position (east facing)  |\n|     *S*     | Player starting position (south facing) |\n|     *W*     | Player starting position (west facing)  |\n\n### Controls\nYou can use `AWSD` to move `UP`, `DOWN`, `LEFT`, `RIGHT` respectively.\nUse right and left arrows to look right and left in the maze.\nFor restarting the game press `ESC` or click on the red cross on the upper-left corner of the window.\n\n\n### Credit\n\nThis two-person project was done with my colleague and friend Iñigo [@Z3n42](https://github.com/z3n42).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiker-gonzalez%2Fcub3d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiker-gonzalez%2Fcub3d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiker-gonzalez%2Fcub3d/lists"}