开源推荐
morning
GitHub 热门项目:pong-wars
2026-05-24
1 阅读
约8分钟阅读
GitHub Trending
字号:
GitHub 项目:pong-wars
仓库地址:https://github.com/vnglst/pong-wars
星级:1672 | 作者:vnglst
项目描述:这是白天与黑夜、好与坏之间的永恒战斗。用 JavaScript 编写,在一个 index.html 中包含一些 HTML 和 CSS。
===================================================
自述文件内容:
#乒乓球大战
这是白天与黑夜、好与坏之间的永恒战斗。用 JavaScript 编写,在一个 index.html 中包含一些 HTML 和 CSS。请随意重用代码并创建您自己的版本。
https://github.com/vnglst/pong-wars/assets/3457693/4eae12fa-bdc1-49ee-8b39-c94deb7cb2c8
## 发展
运行:
````嘘
NPX服务
````
打开链接,您就可以开始了。
## 学分
我第一次看到这个[在这里](https://twitter.com/nicolasdnl/status/1749715070928433161),但这似乎是一个更古老的想法。 [Hacknernews 讨论](https://news.ycombinator.com/item?id=39159418) 中提供了有关历史的更多信息。
颜色基于 [Alex Cristache](https://twitter.com/AlexCristache/status/1738610343499157872) 的 Mindful Palette。
## 提交 PR
我喜欢获得对此进行改进的反馈和 PR,但我也希望保持简单并尽量减少代码。如果您想扩展游戏,请随意创建自己的游戏。如果您找到了改进碰撞检测的方法(或者添加一些随机性的更好方法),请随时打开 PR。
## 链接
- Mastodon 的原始帖子:https://hachyderm.io/@vnglst/111828811496422610
- 在推特上:https://twitter.com/vnglst/status/1751278052154179770
## 替代版本
如果您创建了 Pong Wars 的替代版本并希望分享它,请随时创建拉取请求以在此处添加链接。
下面按字母顺序列出了备用版本:
- [ASCII Python](https://github.com/flash1293/ascii-pong-wars)
- [雅达利 2600](https://forums.atariage.com/topic/360475-pong-wars-atari-2600)
- [BBC 微型机器人](https://mastodon.me.uk/@bbcmicrobot/111829277042377169)
- [C 版本](https://github.com/BrunoLevy/TinyPrograms)
- [C#(iOS、Android、WebAssembly、MacOS、Linux 和 Windows 上的跨平台)](https://aka.platform.uno/pongwars)
- [C# 与 DIKUArcade](https://github.com/Roar-Morkore-Hansen/pong-wars.git)
- [C++](https://invent.kde.org/carlschwan/pongwars/-/blob/master/src/scene.cpp?ref_type=heads)
- [C++ 与 SFML](https://github.com/Alan-Kuan/pong-wars)
- [战斗乒乓球](https://www.combatpong.com/)
- [带有 padels 的早期版本](https://twitter.com/CasualEffects/status/1390290306206216196)
- [永恒的弹跳之战(GDevelop)](https://gd.games/victrisgames/eternal-bounce-battle)
- [颤振](https://github.com/flikkr/flutter_pong_wars)
- [框架 16 LED 矩阵](https://github.com/boobcactus/fw16-pongwars)
- [戈多](https://github.com/rosskarchner/pong-wars-godot)
- [黄金战争(这个版本已经结束了!)](https://ask5.github.io/gold-wars/)
- [Java](https://github.com/krefikk/yingyang)
- [Kotlin/Wasm](https://github.com/wasmhub-dev/pong_wars.kt)
- [土地或水](https://github.com/makaveli2P/land-or-water)
- [Pico8](https://www.pico-8-edu.com/?c=AHB4YQHaAT3vsH558QbF5cXZxd3F_Uedc010zTVJ_gCnN3F6-RNE_SuEUXRRUa8tpK9wzE3nZMedicvntx9y1Mp RnV4Xp0v3ZTrm0EUzMSQTsOWBuJL5-8C2Cl0gG0vK2sXTtKYyQN81iujMXPUN03Vq0FGXNajPzGtHOXUGgE3zegFI4hIIzoYCyC7ITgzcogmTuIaba7Nqzz48mh5J
这篇文章对您有帮助吗?
订阅66必读
每日精选科技资讯,直达你的邮箱
相关推荐
GitHub 热门项目: 光标重置
Cursor Machine ID Reset (≥ 0.45.0) 一个支æŒ�微信æ“�作电脑(多设备ä
👁 0
★ 100.0
GitHub 热门项目:claudeclaw
A lightweight, open-source OpenClaw version built into your Claude Code. ClaudeC
👁 0
★ 100.0
GitHub 热门项目:无误
GitHub项目:no-mistakes 仓库地址:https://github.com/kunchenguid/no-mistakes Stars:9253
👁 0
★ 100.0
IBM MVS 3.8j 社区版(52 年历史的操作系统)
MVS Community Edition Sysgen To use this version of MVS you can download the cur
👁 0
★ 100.0
马斯克:Grok Bot 的目标是让你可以构建整个公司
感谢IT之家网友 不一样的体验 的线索投递! IT之家 11 月 28 日消息,今天(28 日)凌晨,埃隆 · 马斯克在 X 平台发文称:就像现实中的企业一样,
👁 0
★ 100.0