{"id":27014047,"url":"https://github.com/souleeater99/cub3d","last_synced_at":"2025-04-04T13:20:07.511Z","repository":{"id":268093986,"uuid":"869466948","full_name":"SouleEater99/cub3d","owner":"SouleEater99","description":"cub3D 🎮🌌 – A 42 School project recreating core mechanics of the first FPS game using ray-casting.  **Core Features:** - Ray-casting engine for 3D perspective - Dynamic maze navigation with WASD controls - Texture mapping for walls/sprites - Map parsing from .cub configuration files  **Technical Highlights:** ⚡ Optimized rendering pipeline | 🖼️ M","archived":false,"fork":false,"pushed_at":"2025-03-25T18:06:11.000Z","size":123503,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T18:35:18.590Z","etag":null,"topics":["3d-game","3d-graphics","3d-rendering","42school","c","game-development","graphics","maze-game","minilibix","raycasting"],"latest_commit_sha":null,"homepage":"https://github.com/SouleEater99/cub3d","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/SouleEater99.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":"2024-10-08T10:49:20.000Z","updated_at":"2025-03-25T18:06:15.000Z","dependencies_parsed_at":"2024-12-14T09:28:35.108Z","dependency_job_id":"3fb79693-175e-4601-aa81-ede262d1b05b","html_url":"https://github.com/SouleEater99/cub3d","commit_stats":null,"previous_names":["souleeater99/cub3d"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SouleEater99%2Fcub3d","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SouleEater99%2Fcub3d/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SouleEater99%2Fcub3d/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SouleEater99%2Fcub3d/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SouleEater99","download_url":"https://codeload.github.com/SouleEater99/cub3d/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247182426,"owners_count":20897381,"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":["3d-game","3d-graphics","3d-rendering","42school","c","game-development","graphics","maze-game","minilibix","raycasting"],"created_at":"2025-04-04T13:20:07.037Z","updated_at":"2025-04-04T13:20:07.504Z","avatar_url":"https://github.com/SouleEater99.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🕹️ cub3D - Raycast Maze Adventure  \n\n*A 42 School project recreating Wolfenstein 3D-style graphics using ray-casting techniques*  \n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)  \n[![42 Norm](https://img.shields.io/badge/Codestyle-42_Norm-green.svg)](https://github.com/42School/norminette)  \n![Success Rate](https://img.shields.io/badge/Success_Rate-66%25-brightgreen)  \n\n## 🚀 Features  \n\n- **Ray-casting Engine**:  \n  - 3D projection from 2D maps  \n  - Wall collision detection  \n  - Floor/ceiling rendering  \n\n- **Game Controls**:  \n  - WASD movement  \n  - Mouse/camera rotation  \n  - Minimap toggle  \n\n- **Map System**:  \n  - `.cub` file parsing  \n  - Custom texture support  \n  - Color configuration  \n\n## 📊 Project Stats  \n\n- **Team Size**: 2 developers  \n- **Development Time**: ~280 hours  \n- **Success Rate**: 66.7% (832 completions)  \n- **Key Challenges**:  \n  - 3D math implementation  \n  - Texture mapping optimization  \n  - Edge case handling (1.4% leak rate)  \n\n## 🛠️ Installation  \n\n```bash  \ngit clone https://github.com/\u003cyour-username\u003e/cub3D.git  \ncd cub3D  \nmake  \n```\n\nRequires MiniLibX (included)\n\n## 🎮 Usage\n\n```bash\n./cub3D maps/example.cub  \n```\n\nGameplay Demo ← Add gameplay screenshot/GIF\n\n## 🎮 Gameplay  \n\n### Screenshot  \n\n![Maze View](./gallery/img_1c.png)  \n![Maze View](./gallery/img_2.png)  \n![Maze View](./gallery/img_3.png/)  \n\n### Demo (GIF)  \n\n![Gameplay Demo](./gallery/video.gif)  \n\n## 📚 Technical Deep Dive\n\n- **Ray-casting Math:**\n\n```c\nvoid cast_rays(t_game *game) {  \n  // Ray direction calculation  \n  // Wall distance projection  \n  // Texture coordinate mapping  \n}\n```\n\n**Performance:** 60 FPS target\n\n**Memory:** Zero leaks enforced\n\n## 🌟 Learning Outcomes\n\n- **Graphics Programming:** Learned low-level rendering techniques\n\n- **Team Collaboration:** Git workflow and task division\n\n- **Optimization:** Balanced accuracy vs performance\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsouleeater99%2Fcub3d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsouleeater99%2Fcub3d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsouleeater99%2Fcub3d/lists"}