{"id":15307957,"url":"https://github.com/wscats/flappy","last_synced_at":"2025-04-14T23:13:46.503Z","repository":{"id":72736039,"uuid":"405336743","full_name":"Wscats/flappy","owner":"Wscats","description":"🐧OpenHarmony Flappy Bird","archived":false,"fork":false,"pushed_at":"2021-09-11T10:50:19.000Z","size":12451,"stargazers_count":47,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-14T23:13:38.207Z","etag":null,"topics":["flappy","flappy-bird","flappybird","harmonyos","huawei","openharmony"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Wscats.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}},"created_at":"2021-09-11T09:25:16.000Z","updated_at":"2025-02-23T08:24:03.000Z","dependencies_parsed_at":"2024-02-15T21:52:20.813Z","dependency_job_id":null,"html_url":"https://github.com/Wscats/flappy","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/Wscats%2Fflappy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wscats%2Fflappy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wscats%2Fflappy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wscats%2Fflappy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Wscats","download_url":"https://codeload.github.com/Wscats/flappy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248975328,"owners_count":21192210,"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":["flappy","flappy-bird","flappybird","harmonyos","huawei","openharmony"],"created_at":"2024-10-01T08:13:06.321Z","updated_at":"2025-04-14T23:13:46.468Z","avatar_url":"https://github.com/Wscats.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenHarmonyFlappyBird\n\n基于 Canvas 画布绘制 [FlappyBird](https://gitee.com/wscats/OpenHarmonyFlappyBird) 游戏。\n\n\u003cimg width=\"180\" height=\"300px\" src=\"./screenshots/3.gif\" /\u003e\n\n在项目中引入 `\u003cFlappy\u003e\u003c/Flappy\u003e` 组件即可，使用方法如下：\n\n```html\n\u003celement name=\"Flappy\" src=\"./flappy//pages//index/index.hml\"\u003e\u003c/element\u003e\n\n\u003cdiv class=\"container\"\u003e\n  \u003cFlappy\u003e\u003c/Flappy\u003e\n\u003c/div\u003e\n```\n\n# 效果\n\n\u003cimg width=\"250\" align=\"left\" src=\"./screenshots/1.png\" /\u003e\n\u003cimg width=\"250\" src=\"./screenshots/2.png\" /\u003e\n\n# 开发\n\n本项目基于 OpenHarmony 下的 JavaScript UI 框架，运行环境**请参考 [OpenHarmony 项目配置方法](https://gitee.com/isrc_ohos/ultimate-harmony-reference/blob/master/OpenHarmony%20JS%E9%A1%B9%E7%9B%AE%E5%BC%80%E5%8F%91%E6%B5%81%E7%A8%8B.md) 进行项目配置和运行。**\n\n如果你不熟悉 OpenHarmony 的 JS 开发，**请参考该[官方文档](https://developer.harmonyos.com/cn/docs/documentation/doc-references/js-apis-overview-0000001056361791)。**\n\n# 运行\n\n1. 下载 [OpenHarmonyFlappyBird](https://gitee.com/wscats/OpenHarmonyFlappyBird) 项目工程，将工程导入 DevEco Studio 进行编译构建及运行调试。\n2. 进行编译构建，生成一个 HAP 应用安装包，生成 HAP 应用安装包。\n3. 安装运行后，即可在设备上查看应用示例运行效果，以及进行相关调试。\n4. [线上体验版本](https://wscats.github.io/flappy/html/index.html)。\n\n# 作者\n\n| [\u003cimg src=\"https://avatars1.githubusercontent.com/u/17243165?s=460\u0026v=4\" width=\"60px;\"/\u003e\u003cbr /\u003e\u003csub\u003eEno Yao\u003c/sub\u003e](https://gitee.com/wscats) |\n| ------------------------------------------------------------------------------------------------------------------------------------------ |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwscats%2Fflappy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwscats%2Fflappy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwscats%2Fflappy/lists"}