Back to front pageView on Hacker News (opens in a new tab)Show HN: Pong Wars (opens in a new tab)pong-wars.koenvangilst.nl490 pointsby vnglst (on Hacker News)2 years agopong-wars.koenvangilst.nl (opens in a new tab)Pong wars | Koen van GilstThe 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.Comments (120) 37 threadsShow all commentsShowing thread 21 of 37[-]pbiggar2 years ago1 reply#Would love to be able to speed this up!sbarre2 years ago#I had the same thought... If you drop this in the console you can speed things up: dx1*=2;dx2*=2;dy1*=2;dy2*=2; edit: someone else in the thread figured out a better way, I updated mine, but credit to them.Although it has accuracy issues when you get too fast...
Show HN: Pong Wars (opens in a new tab)pong-wars.koenvangilst.nl490 pointsby vnglst (on Hacker News)2 years ago
sbarre2 years ago#I had the same thought... If you drop this in the console you can speed things up: dx1*=2;dx2*=2;dy1*=2;dy2*=2; edit: someone else in the thread figured out a better way, I updated mine, but credit to them.Although it has accuracy issues when you get too fast...
Comments (120) 37 threads
Show all comments
Showing thread 21 of 37
Although it has accuracy issues when you get too fast...