Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vnglst/pong-wars
https://github.com/vnglst/pong-wars
Last synced: 27 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/vnglst/pong-wars
- Owner: vnglst
- License: mit
- Created: 2024-01-27T16:20:07.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-09-06T11:31:04.000Z (2 months ago)
- Last Synced: 2024-10-01T22:24:13.764Z (about 1 month ago)
- Language: HTML
- Homepage: https://pong-wars.koenvangilst.nl/
- Size: 5.32 MB
- Stars: 1,176
- Watchers: 7
- Forks: 143
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pong Wars
It's the eternal battle between day and night, good and bad. Written in JavaScript with some HTML & CSS in one index.html. Feel free to reuse the code and create your own version.
https://github.com/vnglst/pong-wars/assets/3457693/4eae12fa-bdc1-49ee-8b39-c94deb7cb2c8
## Development
Run:
```sh
npx serve
```Open up the link and you're ready to start.
## Credits
I saw this first [here](https://twitter.com/nicolasdnl/status/1749715070928433161), but it appears to be a much older idea. There's some more information on the history in the [Hacknernews discussion](https://news.ycombinator.com/item?id=39159418).
The colors are based on the Mindful Palette by [Alex Cristache](https://twitter.com/AlexCristache/status/1738610343499157872).
## Submitting PRs
I love getting feedback and PRs with improvements for this, but I also want to keep this simple and the code minimal. If you want to extend the game, feel free to create your own. If you found a way to improve the collision detection (or a better way to add some randomness), feel free to open a PR.
## Links
- Original post on Mastodon: https://hachyderm.io/@vnglst/111828811496422610
- On Twitter: https://twitter.com/vnglst/status/1751278052154179770## Alternate version
If you've created an alternate version of Pong Wars and would like to share it, please feel free to create a pull request to add the link here.
The alternate versions are listed below in alphabetical order:
- [ASCII Python](https://github.com/flash1293/ascii-pong-wars)
- [Atari 2600](https://forums.atariage.com/topic/360475-pong-wars-atari-2600)
- [BBC Micro Bot](https://mastodon.me.uk/@bbcmicrobot/111829277042377169)
- [C version](https://github.com/BrunoLevy/TinyPrograms)
- [C# (Cross-platform on iOS, Android, WebAssembly, MacOS, Linux, and Windows)](https://aka.platform.uno/pongwars)
- [C# with 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++ with SFML](https://github.com/Alan-Kuan/pong-wars)
- [Earlier version with padels](https://twitter.com/CasualEffects/status/1390290306206216196)
- [Eternal Bounce Battle (GDevelop)](https://gd.games/victrisgames/eternal-bounce-battle)
- [Flutter](https://github.com/flikkr/flutter_pong_wars)
- [Godot](https://github.com/rosskarchner/pong-wars-godot)
- [Gold Wars (This version has an end!)](https://ask5.github.io/gold-wars/)
- [Java](https://github.com/krefikk/yingyang)
- [Kotlin/Wasm](https://github.com/wasmhub-dev/pong_wars.kt)
- [Land-Or-Water](https://github.com/makaveli2P/land-or-water)
- [Pico8](https://www.pico-8-edu.com/?c=AHB4YQHaAT3vsH558QbF5cXZxd3F_Uedc010zTVJ_gCnN3F6-RNE_SuEUXRRUa8tpK9wzE3nZMedcvntx9y1MpRnV4Xp0v3ZTrm0EUzMSQTsOWBuJL5-8C2Cl0gG0vK2sXTtKYyQN81iujMXPUN03Vq0FGXNajPzGtHOXUGgE3zegFI4hIIzoYCyC7ITgzcogmTuIaba7Nqzz48mh5JFxYFgKllpExWB7ZVnKAaH5qvd3SzqTLA0aZrR1Wy0GFywwsjUQhgOznQ3jtx6QCkisOCWvA9ngqFsZXMnFyKJhkynGFYEyZmCBcaIkk5BMF3YVRBX7RcFcZtGQbRQEN9GU_uMVEkSiRNn_aR55AmGqmBbiigfGuqybCXz5QnZI3W_Lutw2Ph4FOMn6Scn0lBgoSsFi3KlgIGpya1iYRY=&g=w-w-w-w1HQHw-w2Xw-w3Xw-w2HQH)
- [Pong-Wars Fireballs](https://pong-wars-fireballs.vercel.app)
- [Processing](https://github.com/riktov/processing-pong-wars)
- [Pygame version](https://github.com/BjoernSchilberg/py-pong-wars)
- [Python](https://github.com/vocdex/pong-wars-python)
- [React Native](https://github.com/Nodonisko/react-native-skia-pong-wars)
- [Rust/Wasm](https://github.com/wasmhub-dev/pong_wars.rs)
- [Scratch](https://scratch.mit.edu/projects/957461584)
- [Seasons Pong](https://github.com/hmak-dev/seasons-pong)
- [Swift (SpriteKit)](https://github.com/frederik-jacques/ios-pongwars)
- [Tag-Team](https://github.com/SSteve/pong-wars) ([Live](https://ssteve.github.io/pong-wars/))
- [Yin-Yang Pong](https://ying-yang-pong.vercel.app/)
- [Ying Yang](https://twitter.com/a__islam/status/1751485227787034863)