{"id":20487199,"url":"https://github.com/tiagopog/flappy_bird","last_synced_at":"2025-10-19T07:12:23.180Z","repository":{"id":54282031,"uuid":"211599699","full_name":"tiagopog/flappy_bird","owner":"tiagopog","description":"Flappy Bird written in Ruby with Ruby 2D.","archived":false,"fork":false,"pushed_at":"2021-02-26T20:25:21.000Z","size":74,"stargazers_count":40,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T06:22:21.230Z","etag":null,"topics":["game","game-development","ruby","ruby2d"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/tiagopog.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}},"created_at":"2019-09-29T03:48:34.000Z","updated_at":"2024-12-12T11:35:42.000Z","dependencies_parsed_at":"2022-08-13T10:50:53.801Z","dependency_job_id":null,"html_url":"https://github.com/tiagopog/flappy_bird","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiagopog%2Fflappy_bird","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiagopog%2Fflappy_bird/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiagopog%2Fflappy_bird/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiagopog%2Fflappy_bird/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tiagopog","download_url":"https://codeload.github.com/tiagopog/flappy_bird/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248734190,"owners_count":21153166,"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":["game","game-development","ruby","ruby2d"],"created_at":"2024-11-15T16:40:27.415Z","updated_at":"2025-10-19T07:12:23.103Z","avatar_url":"https://github.com/tiagopog.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\n\nFlappy Bird game written in Ruby with the awesome [ruby2d](http://www.ruby2d.com/) framework.\n\n![ruby2d_flappy_bird_3](https://user-images.githubusercontent.com/760933/65826039-c0b92480-e254-11e9-91a9-043bf80b3d07.gif)\n\n\u003e Note: the low frame rate here is due to the GIF recording not the game itself.\n\n## Goals\n\n- Learn more about game physics and collision detection;\n- Separate game logic from graphics.\n\n## Todo\n\n- [ ] Improve opening scene;\n- [ ] Improve game over scene (add medals and best score);\n- [ ] Improve bird's flight and fall animations.\n\nPRs are welcome :-)\n\n# Install\n\nMake sure you have installed:\n\n* [simple2d](https://github.com/simple2d/simple2d):\n\n```\nbrew tap simple2d/tap\nbrew install simple2d\n```\n\n* [ruby2d](https://github.com/ruby2d/ruby2d):\n\n```\ngem install ruby2d\n```\n\nThen clone the source code to your local:\n\n```\ngit clone https://github.com/tiagopog/flappy_bird.git\n```\n\n## Ubuntu / Debian\n\n```bash\n$ sudo apt install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libgles2-mesa-dev\n$ url='https://raw.githubusercontent.com/simple2d/simple2d/master/bin/simple2d.sh'; which curl \u003e /dev/null \u0026\u0026 cmd='curl -fsSL' || cmd='wget -qO -'; bash \u003c($cmd $url) install\n```\n\n# Play\n\n```\ncd flappy_bird\nruby main.rb\n```\n\nBird control:\n\n* Jump: space bar\n* Restart (game over): space bar\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiagopog%2Fflappy_bird","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftiagopog%2Fflappy_bird","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiagopog%2Fflappy_bird/lists"}