{"id":16610811,"url":"https://github.com/ddzy/canvas-bubble-game","last_synced_at":"2025-03-21T14:31:00.461Z","repository":{"id":111872156,"uuid":"143154464","full_name":"ddzy/canvas-bubble-game","owner":"ddzy","description":"基于canvas的可简单定制的五彩气泡小游戏","archived":false,"fork":false,"pushed_at":"2018-08-01T12:56:05.000Z","size":3,"stargazers_count":50,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-01T07:05:17.298Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/ddzy.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":"2018-08-01T12:42:08.000Z","updated_at":"2020-02-06T12:45:38.000Z","dependencies_parsed_at":"2023-03-22T16:03:06.172Z","dependency_job_id":null,"html_url":"https://github.com/ddzy/canvas-bubble-game","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/ddzy%2Fcanvas-bubble-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddzy%2Fcanvas-bubble-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddzy%2Fcanvas-bubble-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddzy%2Fcanvas-bubble-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ddzy","download_url":"https://codeload.github.com/ddzy/canvas-bubble-game/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244141444,"owners_count":20404837,"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":[],"created_at":"2024-10-12T01:32:40.489Z","updated_at":"2025-03-21T14:31:00.144Z","avatar_url":"https://github.com/ddzy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# canvas-bubble-game\r\n\r\n## 介绍\r\n+ 基于canvas的弹弹球小游戏\r\n+ 可简单定制样式\r\n\r\n### 引入\r\n```\r\n\u003cscript src=\"./bubble.js\"\u003e\u003c/script\u003e\r\n```\r\n\r\n### 使用\r\n```\r\n\u003ccanvas id=\"cvs\"\u003e\u003c/canvas\u003e\r\n\r\n直接 Bubble({ id: 'cvs' }) 即可使用\r\n```\r\n\r\n### 配置\r\n```\r\nBubble({\r\n  id: String              (画布),\r\n  width?: Number          (展示的区域宽)\r\n  height?: Number         (展示的区域高)\r\n  color?: Array\u003cString\u003e   (气泡颜色)\r\n  bgcolor?: String        (展示区域背景色)\r\n})\r\n```\r\n\r\n### Enjoy","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fddzy%2Fcanvas-bubble-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fddzy%2Fcanvas-bubble-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fddzy%2Fcanvas-bubble-game/lists"}