{"id":15048870,"url":"https://github.com/aelabassi/maze","last_synced_at":"2026-01-02T00:13:08.132Z","repository":{"id":255584899,"uuid":"850616926","full_name":"aelabassi/Maze","owner":"aelabassi","description":"ALX foundation, month #8: Portfolio project: Building a 2D Maze using C, and SDL2 library","archived":false,"fork":false,"pushed_at":"2024-12-14T11:41:53.000Z","size":6136,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-13T23:44:17.197Z","etag":null,"topics":["c-language","graphics-programming","raytracing","sdl-ttf","sdl2"],"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/aelabassi.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-09-01T09:48:48.000Z","updated_at":"2024-09-25T20:18:03.000Z","dependencies_parsed_at":"2024-09-06T06:02:25.137Z","dependency_job_id":"853cb228-4553-4eff-8cf3-75bcee9bc911","html_url":"https://github.com/aelabassi/Maze","commit_stats":null,"previous_names":["aelabassi/maze"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aelabassi%2FMaze","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aelabassi%2FMaze/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aelabassi%2FMaze/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aelabassi%2FMaze/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aelabassi","download_url":"https://codeload.github.com/aelabassi/Maze/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243500771,"owners_count":20300770,"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":["c-language","graphics-programming","raytracing","sdl-ttf","sdl2"],"created_at":"2024-09-24T21:16:56.430Z","updated_at":"2026-01-02T00:13:08.084Z","avatar_url":"https://github.com/aelabassi.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Portfolio project: The Maze project\n\nThis game uses Ray casting to render 2D textures: walls, floor, ceiling; into a 3D world, where the user controls the player i.e. the camera to navigate through the maze\n\n## Tools and APIs:\n\n### SDL2:\n\nSDL2 is most cross-platfrom used library for game develpements, it's designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D.\n\n### UPNG:\n\n`upng` is a lightweight, fast, and simple PNG encoder and decoder library written in C. It is designed to be easy to use and integrate into various projects, providing a straightforward way to handle PNG images. The library is particularly useful for applications that require efficient PNG image processing without the overhead of more complex libraries.\n\n`upng` is used instead of `SDL2_image` for lightweight, and fast use.\n\n## Compilation\n\n### CMAKE:\n\nIn unix systems: Linux, and MacOs, you need only to download either the binary files of SDL2 library, or compile, following this link \u003ca href=\"https://wiki.libsdl.org/SDL2/SourceCode\"\u003eSDL2\u003c/a\u003e\n\ncopy past:\n\n```\nmkdir build \u0026\u0026 cd build \u0026\u0026 cmake .. \u0026\u0026 make\n```\n\n### Makefile:\n\nOnly in Linux machines i.e. Ubuntu:\n\n```\nmake build \u0026\u0026 make run\n```\n\nor:\n\n```\ngcc -Wall -Wextra -Werror -pedantic -lm src/*.c -Iinclude/ -o Maze `sdl2-config --cflags` `sdl2-config --libs`\n```\n\n\n## Demo\n[![Maze game demo](https://github.com/aelabassi/Maze/blob/main/assets/demo.png)](https://www.youtube.com/watch?v=V8RVFhUO8Yc\u0026ab_channel=ElAbassiAbderrazaq)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faelabassi%2Fmaze","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faelabassi%2Fmaze","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faelabassi%2Fmaze/lists"}