{"id":27173239,"url":"https://github.com/lvocanson/bouncer","last_synced_at":"2025-04-09T10:51:12.008Z","repository":{"id":264071490,"uuid":"889017994","full_name":"lvocanson/Bouncer","owner":"lvocanson","description":"A game focusing on encapsulation, where bouncing circles appear, disappear on click, and increase the score.","archived":false,"fork":false,"pushed_at":"2024-11-21T20:15:06.000Z","size":29208,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-21T21:21:44.502Z","etag":null,"topics":["encapsulation","raylib","sdl3"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":false,"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/lvocanson.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-11-15T12:59:06.000Z","updated_at":"2024-11-21T20:15:10.000Z","dependencies_parsed_at":"2024-11-21T21:33:47.549Z","dependency_job_id":null,"html_url":"https://github.com/lvocanson/Bouncer","commit_stats":null,"previous_names":["lvocanson/bouncer"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvocanson%2FBouncer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvocanson%2FBouncer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvocanson%2FBouncer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvocanson%2FBouncer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lvocanson","download_url":"https://codeload.github.com/lvocanson/Bouncer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248027417,"owners_count":21035594,"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":["encapsulation","raylib","sdl3"],"created_at":"2025-04-09T10:51:11.584Z","updated_at":"2025-04-09T10:51:12.000Z","avatar_url":"https://github.com/lvocanson.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bouncer\r\n\r\n**Bouncer** is a C++ project designed to practice encapsulation. The application displays circles that bounce off the edges of the window. Clicking a circle makes it disappear and increases the score, which is shown in the top-left corner below the FPS. As the game progresses, new circles appear more quickly, up to a maximum of 50 circles on screen at once.\r\n\r\n## Cloning and Opening the Project in Visual Studio\r\n\r\n1. Clone the repository with its submodules:\r\n\r\n   ```bash\r\n   git clone https://github.com/lvocanson/Bouncer.git --recursive\r\n   ```\r\n\r\n2. Open the `Bouncer.sln` solution file located at the root of the repository.\r\n\r\n3. Build the project in Visual Studio using your desired configuration (Debug/Release).\r\n\r\nThat's it!\r\n\r\n## Compilation and Library Configuration\r\n\r\n### Graphics Library Selection\r\n\r\nTo set the default graphics library, define one of the following macros during compilation:\r\n\r\n- `USE_SDL`: Defaults to **SDL**.\r\n- `USE_RAYLIB`: Defaults to **raylib**.\r\n\r\nIf `FORCE_LIB` is defined, the library choice will be locked and cannot be overridden at runtime.\r\n\r\n### Changing the Library at Runtime\r\n\r\nIf `FORCE_LIB` is not defined, you can switch the graphics library at runtime using the following command line arguments:\r\n\r\n- `--SDL`: Switch to **SDL**.\r\n- `--Raylib`: Switch to **raylib**.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flvocanson%2Fbouncer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flvocanson%2Fbouncer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flvocanson%2Fbouncer/lists"}