You can see it live here: https://pong-wars.koenvangilst.nl/
Source code is just plain html, css and JavaScript, so you can see it in your browser.
Since this is taking off, I have to give credit where it is due. I saw this first on Twitter here:
@abananabag I didn't expect to read this today.
Another pixel of innocence lost, and I'm not sorry.
@vnglst Could you add an open source license to your repository?
I re-implemented your project in C++/OpenGL as a learning experience. I reused your updateSquareAndBounce method and would like to know with which license I can publish my implementation. Anything between MIT and GPL is fine with me :)
Two player Arkanoid! Brilliant.
@vnglst I guess it never stops, right? One should be aware of that before starting to watchโฆ
That said, it is really fascinating to watch. Especially after a while, when one player gets โtrappedโ in a small area. But as the area is small, it does not take long before it has enlarged it again, and joined with nearby exclaves. Etc.
@das_menschy
Wow!
It's like an ending.
@vnglst
I like this so much.
*watch it and waiting for an end that doesn't exist
What's the victory condition? Cause I don't see how one side will ever win?
@vnglst @TobiWanKenobi
Yin & Yang.
Just have to make the arena a circle.
@vnglst @TobiWanKenobi Worst thing ever Iโve just wasted 10 minutes of my life and Iโm planning to waste another half an hour. But I like the idea of winning. What if area gets separated from the main area without the ball in it it will turn into the opposite color? And gaining more than 90% would mean winner?
Man this is so frustrating have to run it again.
Simple, brilliant idea!