6 ms·
Pong Clock
- ajd555 1y agoThis is great, congrats on getting it out!
- bigjobby 1y agoThx. I have made a few improvements since getting some feedback. Thanks for trying it
- yodon 1y agoThank you for bringing a tiny bit of joy to the day
- bigjobby 1y agothx
- stog 1y agoOut of curiosity, are you Scottish?
- empressplay 1y agoCute, I love it! Thanks for sharing this. It would be just a little bit better though if the paddles just missed the ball when the time changes rather than entirely stepping aside. But still wonderful, nevertheless.
- stevage 1y agoThanks for the hint about what is interesting about this.
- waltbosz 1y agoIt took me a while to figure out that the time would advance when one of the paddles missed. I was also disappointed by the way it missed by intentionally moving to the top of the play field. I wonder how difficult it would be to code it so the miss was more convincing.
- mspreij 1y agoI spent longer than I care to admit trying to find the player keys..
- bigjobby 1y agoI have adjusted that mechanic. It should be a bit more realistic now
- tombert 1y agoI have an old TV that I bought in 2015. It's in this kind of weird situation where it's "too good to throw away but not good enough to actually use". All I have been using it for in the last six years is plugging it into servers that only have a VGA port, and I don't have any of those anymore. I've thought about mounting it to a wall plugging in a Raspberry Pi and have it constantly rotate fun different types of clocks. Something like this seems like it could be a fit.
- BobbyTables2 1y agoWow, my only TV is from 2012!
- tombert 1y agoI mean none of my TVs are top of the line, I don't own any TVs that cost more than $600, but I did feel like the upgrade to 4K was worth it back in ~2018. The TV I was referring to was extremely cheap even in 2015. It's not even 1080p, and I'm not even 100% convinced it's even 720p, despite what it says. It served us well enough when I was broke working for academia, but I upgraded everything when I was able to afford it. Still, this TV is relatively small and could still be kind of fun for a virtual clock, so it might be nice to get a bit more life out of it.
- johntopia 1y agothis is actually entertaining
- bigjobby 1y agoThx
- clocker 1y agoGreat idea! Wish the speed was bit more. I think it would be cool if it takes exactly 1 second to bounce between the two paddles.
- albert_e 1y agoI thought that was the idea and felt the seconds seemed tab bit longer :)
- chrisweekly 1y agotab -> tad (for the sake of non-native English readers)
- bigjobby 1y agoI have increased the speed a bit.
- gpt5 1y agoType this into your dev console to speed it up to one hit per second (or if you want in the URL bar, prefix it with `javascript:`) (()=>{const T=1;window._u0=window._u0||update;update=function(){const W=gameCanvas.getBoundingClientRect().width,dist=0.92*W,vx=Math.abs(ball.speedX)||INITIAL_BALL_SPEED;let n=(dist/vx)/(60*T);n=Math.max(1,Math.min(20,Math.round(n)));for(let i=0;i<n;i++)_u0();};})()`
- bigjobby 1y ago
- wkjagt 1y agoI like to imagine two actual people controlling this game, and it's their job to control time. If one misses by accident, time for everyone on earth advances a little too quickly.
- cramcgrab 1y agoBetter not let Atari see it, you’ll get a takedown notice.
- pretzellogician 1y agoThis is true. At least in the past, they've been pretty protective about the "pong" name. Example: https://gamedev.stackexchange.com/questions/21161/does-a-pong-clone-called-ping-infringe-on-any-copyrights-or-trademarks https://gamedev.stackexchange.com/questions/21161/does-a-pon...
- conception 1y agoAh! Reminded me I have one of these in storage some place. https://www.sandermulder.com/pong_clock.html https://www.sandermulder.com/pong_clock.html You can still get the screensaver.
- theden 1y agoPretty cool! You can force a miss by setting these vars in the console scoreMinute += 1 Or forceMissPaddle = rightPaddle; // or leftPaddle
- mlcq 1y agoSo cool, very creative.
- bigjobby 1y agoThx
- GauntletWizard 1y agoI feel bad for the guy playing the left side; 0 - 55 is a heck of a deficit to come back from.
- afandian 1y agoLeft player is playing the long game.
- bigjobby 1y agoLeft player sucks at Pong
- shmeeed 1y agoYeah, the left guy's pretty bad. I admire his persistence, though! They seem to play with a made-up rule set with a handicap: every time the left guy lands a goal, the other guy's score is reset... So left usually starts in the lead, but then quickly loses out again. I estimate he's behind roughly 89% of the time. (For a fun exercise, ask Google for that percentage. It's astonishing how wrong the AI answers can get.)
- GauntletWizard 1y agoMy "AI" response was actually pretty good; It summed up the number of minutes per hour, making only one (glaringly obvious but understandable by some metrics) error: > Hour 12: The hour (12) is never greater than the minute (0–59), so the time is 0. Misunderstanding how human clocks work, but right for this clock. It then doubled that, because there's two 12-hour periods in a day, which was useless but reasonable, and finally divided by 1440 minutes in a day, and got an answer of 9% Then I asked again, and while it got the same answer, it used totally different "reasoning" that was wrong in a unique way.
- ChrisMarshallNY 1y agoThe theme song: https://www.youtube.com/watch?v=cNAdtkSjSps https://www.youtube.com/watch?v=cNAdtkSjSps
- bigjobby 1y agoHi. This is my webpage. I have added some code so the misses are so wild anymore. You may have to refresh your page or clear cookies maybe for this to take effect. All feedback muchly appreciated and always welcome. Unless too harsh. I'll ask Reddit for more brutal feedback. https://bigjobby.com/pong/?v=23 https://bigjobby.com/pong/?v=23
- bigjobby 1y agoThanks for posting this. I have welcomed all the feedback and made a few changes.