{"id":34670260,"url":"https://github.com/abdulahshoaib/minigolf","last_synced_at":"2026-05-29T14:31:03.653Z","repository":{"id":281696055,"uuid":"839104363","full_name":"abdulahshoaib/MiniGolf","owner":"abdulahshoaib","description":"2D mini golf game developed in C++ using raylib","archived":false,"fork":false,"pushed_at":"2025-03-10T16:51:44.000Z","size":1030,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T02:27:44.327Z","etag":null,"topics":["cpp","game-development","raylib","raylib-cpp"],"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/abdulahshoaib.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-08-07T01:31:04.000Z","updated_at":"2025-03-10T16:51:47.000Z","dependencies_parsed_at":"2025-03-10T17:47:18.411Z","dependency_job_id":"341074f7-0152-4f19-b4d2-0811c5890432","html_url":"https://github.com/abdulahshoaib/MiniGolf","commit_stats":null,"previous_names":["whoiscipher/minigolf","abdulahshoaib/minigolf"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/abdulahshoaib/MiniGolf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdulahshoaib%2FMiniGolf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdulahshoaib%2FMiniGolf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdulahshoaib%2FMiniGolf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdulahshoaib%2FMiniGolf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abdulahshoaib","download_url":"https://codeload.github.com/abdulahshoaib/MiniGolf/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdulahshoaib%2FMiniGolf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33657690,"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-29T02:00:06.066Z","response_time":107,"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":["cpp","game-development","raylib","raylib-cpp"],"created_at":"2025-12-24T19:53:52.169Z","updated_at":"2026-05-29T14:31:03.641Z","avatar_url":"https://github.com/abdulahshoaib.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MiniGolf\n\n![MiniGolf](res/MiniGolfArt.png)\n\nA simple 2D mini-golf game developed using Raylib and C in CMake. The player aims to pot the ball into the hole while navigating obstacles.\n\n## Description\n\nMiniGolf is a casual 2D golf game written in C using the Raylib library. The game simulates a mini-golf course where the player clicks to aim and hit the ball toward the hole. The game includes obstacles and friction for realistic gameplay.\n\n- **Gameplay**:\n  - Left-click to hit the ball towards the hole.\n  - The ball moves with friction, slowing down over time.\n  - The game ends when the ball is potted into the hole.\n\n## Features\n\n- **Ball Physics**: Realistic movement of the ball with friction.\n- **Obstacles**: Rectangular obstacles that block the ball’s path.\n- **Simple Mechanics**: Hit the ball using mouse clicks and try to pot it into the hole.\n\n## Game Controls\n\n- **Left-click**: Hit the ball in the direction of the mouse position.\n- **No Menu**: The game starts immediately when you run it.\n\n## CMake Setup\n\nThe project uses **CMake** to generate build files for the game. CMake will help you build and run the game across different platforms.\n\n### Steps to Build and Run the Game:\n\n1. **Install Dependencies**:\n   - Make sure you have [Raylib](https://www.raylib.com/) installed on your system.\n   - Ensure that you have **CMake** installed.\n\n2. **Clone the repository**:\n   ```bash\n   git clone https://github.com/yourusername/MiniGolf.git\n   cd MiniGolf\n   ```\n\n3. **Create a build directory and generate the Makefiles:**\n    ```bash\n    mkdir build\n    cd build\n    cmake ..\n    ```\n4. **Build the game:**\n    ```bash\n    make\n    ```\n\n5. **Run the game: After building, you can run the game with the following command:**\n    ```\n    make run\n    ```\n\nThis will compile (if not already comiled) and then run the game\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdulahshoaib%2Fminigolf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdulahshoaib%2Fminigolf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdulahshoaib%2Fminigolf/lists"}