{"id":26898572,"url":"https://github.com/tianlangstudio/pengpengqiu","last_synced_at":"2026-04-10T16:44:22.677Z","repository":{"id":44321531,"uuid":"207724114","full_name":"TianLangStudio/pengpengqiu","owner":"TianLangStudio","description":"双人对战碰碰球游戏","archived":false,"fork":false,"pushed_at":"2022-12-11T05:20:46.000Z","size":80,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-03-19T15:03:44.975Z","etag":null,"topics":["game","html5","html5-canvas","nodejs","socket-io","socketio"],"latest_commit_sha":null,"homepage":null,"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/TianLangStudio.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-11T04:36:53.000Z","updated_at":"2024-03-19T15:03:44.976Z","dependencies_parsed_at":"2022-08-26T20:33:11.949Z","dependency_job_id":null,"html_url":"https://github.com/TianLangStudio/pengpengqiu","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/TianLangStudio%2Fpengpengqiu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TianLangStudio%2Fpengpengqiu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TianLangStudio%2Fpengpengqiu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TianLangStudio%2Fpengpengqiu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TianLangStudio","download_url":"https://codeload.github.com/TianLangStudio/pengpengqiu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246591788,"owners_count":20801985,"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","html5","html5-canvas","nodejs","socket-io","socketio"],"created_at":"2025-04-01T05:48:06.115Z","updated_at":"2026-04-10T16:44:22.646Z","avatar_url":"https://github.com/TianLangStudio.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 碰碰球\n----------------\n双人对战小游戏\n![KeepLearning QQ](https://raw.githubusercontent.com/TianLangStudio/pengpengqiu/master/images/pengpengqiu.png)\n\n## 更新日志\n20190911 \n　　　　升级socket.io为2.2.0并修复api不兼容问题\n20140514\n        1.搭建后端环境（安装nodejs socket.io   参考链接http://raytaylorlin.com/category/Tech/web/Node.js/socket-io-advanced/)  \n        2.前端通过socket链接实现游戏状态共享 俩个玩家看到的界面一致\t\n    20140515\n\t    1.前端界面添加键盘KeyDown事件 当按下“←”时向服务端发送球拍左移消息 当按下“→”时向服务端发送球拍右移消息\n\t\t2.服务端添加接受球拍移动消息处理方法并执行球拍移动操作\n\t\t3.添加小球和球拍的碰撞检测 当小球碰到球拍时折回并加速（增加趣味性）\n    20140516\n\t    1.调整前端布局美化界面\n\t20140517\n\t\t1.调整前端页面适合手机浏览\n\t\t2.添加触屏事件控制球拍\n    \n## 运行方法：\n        进入项目目录执行　yarn install\n        执行 node app.js  （请确保已经安装node  安装参考链接：http://www.infoq.com/cn/articles/nodejs-npm-install-config）\n\t\t打开Chrome或火狐（支持html5）浏览器访问：http://127.0.0.1:8888/  开始游戏\n## 问题交流可加群\nQQ群：579896894\n----------------\n![KeepLearning QQ](https://raw.githubusercontent.com/TianLangStudio/DataXServer/master/images/tianlangstudio-keeplearning-qrcode.jpg)      \t\t\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftianlangstudio%2Fpengpengqiu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftianlangstudio%2Fpengpengqiu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftianlangstudio%2Fpengpengqiu/lists"}