{"id":16073259,"url":"https://github.com/dongska/flappy-bird-easyx","last_synced_at":"2026-01-27T04:01:47.018Z","repository":{"id":242826815,"uuid":"810678179","full_name":"dongska/Flappy-Bird-EasyX","owner":"dongska","description":"Flappy Bird Game in C++ ; Friendly to beginner! Using object-oriented programming and the EasyX graphics library.","archived":false,"fork":false,"pushed_at":"2024-06-26T14:22:43.000Z","size":2220,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-20T09:39:34.198Z","etag":null,"topics":["c-plus-plus","easyx","flappy-bird","game","object-oriented-programming"],"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/dongska.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-06-05T06:51:03.000Z","updated_at":"2024-06-26T14:25:09.000Z","dependencies_parsed_at":"2024-06-05T08:08:17.182Z","dependency_job_id":"cd70789b-c5a5-4d29-b4cb-cb4de3753c21","html_url":"https://github.com/dongska/Flappy-Bird-EasyX","commit_stats":null,"previous_names":["dongska/flappy-bird-easyx"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dongska/Flappy-Bird-EasyX","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dongska%2FFlappy-Bird-EasyX","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dongska%2FFlappy-Bird-EasyX/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dongska%2FFlappy-Bird-EasyX/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dongska%2FFlappy-Bird-EasyX/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dongska","download_url":"https://codeload.github.com/dongska/Flappy-Bird-EasyX/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dongska%2FFlappy-Bird-EasyX/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28800902,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T03:44:14.111Z","status":"ssl_error","status_checked_at":"2026-01-27T03:43:33.507Z","response_time":168,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["c-plus-plus","easyx","flappy-bird","game","object-oriented-programming"],"created_at":"2024-10-09T08:05:22.938Z","updated_at":"2026-01-27T04:01:46.992Z","avatar_url":"https://github.com/dongska.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flappy-Bird-EasyX\nFlappy Bird Game in C++ ; Friendly to beginner! Using object-oriented programming and the EasyX graphics library.\n\nIf you find this project helpful, please give us a ⭐️ Star!\n\nThe game involves controlling a bird by clicking the screen to avoid obstacles (columns). The project uses object-oriented programming to structure different functionalities of the game.\n\n\u003cimg src=\"picture/start.png\" width=\"30%\"\u003e\u003cimg src=\"picture/gaming.png\" width=\"30%\"\u003e\u003cimg src=\"picture/over.png\" width=\"30%\"\u003e\n\n## Project Structure\n\n![ClassMap](picture/ClassMap.jpg)\n\n- `CBirdAPP`: Main game class, manages game state and core logic.\n  - `CBackGround m_BackGround`: Background object\n  - `CGround m_Ground`: Ground object\n  - `CPlayerBird m_PlayerBird`: Player bird object\n  - `CColumnBox m_columnBox`: Manages columns\n  - `CBeforeGame m_BeforeGame`: Pre-game interface\n  - `CAfterGame m_AfterGame`: Post-game interface\n\n- `CBackGround`: Handles game background.\n  - `IMAGE m_imgBack`: Background image\n  - `void InitBackGround()`: Initialize background\n  - `void ShowBackGround()`: Display background\n\n- `CGround`: Handles game ground.\n  - `IMAGE m_imgGround`: Ground image\n  - `void InitGround()`: Initialize ground\n  - `void ShowGround()`: Display ground\n  - `void MoveGround(int step)`: Move ground\n  - `bool ITouchGround(CPlayerBird* player)`: Check if the player bird touches the ground\n\n- `CPlayerBird`: Handles the player-controlled bird.\n  - `IMAGE m_imgPlayer[8]`: Bird animation frames\n  - `void InitPlayerBird()`: Initialize bird\n  - `void ShowPlayerBird()`: Display bird\n  - `void MovePlayerBird()`: Move bird\n\n- `CColumn`: Handles obstacle columns.\n  - `IMAGE m_imgColumn`: Column image\n  - `void InitColumn()`: Initialize column\n  - `void ShowColumn()`: Display column\n  - `void MoveColumn(int step)`: Move column\n  - `bool ITouchBird(CPlayerBird* player)`: Check if the column touches the player bird\n\n- `CColumnBox`: Manages multiple column objects.\n  - `list\u003cCColumn*\u003e m_ColLst`: List of column objects\n  - `void InitColumnBox()`: Initialize columns\n  - `void ShowAllColumn()`: Display all columns\n  - `void MoveAllColumn(int step)`: Move all columns\n\n- `CBeforeGame`: Handles pre-game interface.\n  - `void InitBeforeGame()`: Initialize pre-game interface\n  - `void ShowBeforeGame()`: Display pre-game interface\n  - `void StartGame()`: Start the game\n\n- `CAfterGame`: Handles post-game interface.\n  - `void InitAfterGame()`: Initialize post-game interface\n  - `void ShowAfterGame()`: Display post-game interface\n  - `void ReStartGame()`: Restart the game\n\n## Features\n\n- Control a bird to fly through obstacles\n- Simple yet addictive gameplay\n- Score tracking\n- Basic collision detection\n- Game restart functionality\n\n## Support Us\nIf you find this project helpful, please give us a ⭐️ Star! \n\n## Requirements\n\n- C++ compiler (e.g., g++)\n- EasyX graphics library (for Windows)\n\n## Acknowledgements\n\n- Inspired by Dong Nguyen's original Flappy Bird game\n- EasyX graphics library\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdongska%2Fflappy-bird-easyx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdongska%2Fflappy-bird-easyx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdongska%2Fflappy-bird-easyx/lists"}