frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Curvytron 2, I rewrote my browser party game, 10 years later

https://curvytron2.com/
7•tom32i•1d ago
Hi everyone, french web dev here,

About 10 years ago I did a little party game in the browser inspired by Achtung die Kurve genre, it reached HN (https://news.ycombinator.com/item?id=9494619) and everything went crazy, it's still largely played in open-spaces all over the world today.

This past year, I've been working on a sequel: https://curvytron2.com is live.

Same goal as the first one: challenge myself, perfect my skills, have fun and give back to the internet community the best way I know; by just putting a free little fun game out there. No ads, no tracking, no business plan.

A decade of professional web development and hours of GMTK have raised my expectations and this time I aimed for:

- a good looking top-down 3D view with improved gameplay and real game juice: I learn Three.JS and WebGL for this project, worked on the camera movements, screen shake, sound design, gameplay feedback and I'm proud of the portal-like effect of the bonus that allows you to peak and cross over to the other side of the map. - a solid 100fps server simulation (in Go) serving clients with a really bandwidth efficient netcode (it's binary websocket instead of plain JSON and I open-sourced it: https://github.com/Tom32i/netcode). - Instant reconnection, at any time: I had this requirement from day one, in the first curvytron losing connexion meant dropping out of the game permanently. Not anymore. You can just refresh the page mid-game and keep playing, try it yourself.

The game runs in any desktop and mobile browser and supports gamepads I've put up servers in US and Europe to offer a good ping to as much players as I can afford at the moment.

I still maintain and host the first game to keep the original experience live.

I'd love to get feedback from HN, and don't hesitate to stress-test the game of course!

I'll be around to answer questions and discuss if you're interested. Cheers!

Comments

tedavis•17h ago
This is excellent! What was the biggest challenge you found while developing the sequel?
tom32i•14h ago
It was clearly dynamic "trail" geometry:

in curvytron your trail grows behind you as you go, so on each frame most of active players trail "capsule" 3D geometries have changed.

I started by blindly recalculate every geometry on every frame, work well enough for a time but I think you can see the optimisation problem coming...

On each frame the trail gets only 1 new point and the rest of its points (dozens) has not changed, yet you recalculate every segment vertices (and normals, etc) for every point, just to add one new segment at the end and finally add the half-sphere cap. And this is done by Three.js: so by the CPU, not in GPU yet.

What I did was write a dynamic capsule geometry, with pre-allocated geometry buffer and the capacity to add 1 point at each frame by just filling the missing vertices, normals, etc fo the point. Resulting in a massing performance improvement.

Side note: when the player stop "drawing" and leave a hole behind, the detached trail become inactive and just stop being re-computed at each frame.

andai•1h ago
Nice! The game is fun.

How did you handle the reconnection?

ZCode – Harness for GLM-5.2

https://zcode.z.ai/en
204•chvid•4h ago•212 comments

Show HN: Searchable directory of 22k+ products from worker-owned co-ops

https://www.workerowned.info/
223•IESAI_ski•5h ago•36 comments

For first time, a cell built from scratch grows and divides

https://www.quantamagazine.org/for-the-first-time-a-cell-built-from-scratch-grows-and-divides-202...
734•defrost•11h ago•253 comments

Building an Open-Source Robot Vacuum – Meet Oomwoo

https://makerspet.com/blog/building-an-open-source-robot-vacuum-meet-oomwoo/
30•devicelimit•1h ago•1 comments

What to learn to be a graphics programmer

https://blog.demofox.org/2026/07/01/what-to-learn-to-be-a-graphics-programmer/
247•atan2•8h ago•129 comments

Global review confirms mRNA vaccines are safe, effective and full of promise 

https://news.ubc.ca/2026/06/mrna-vaccines-are-safe-effective-and-full-of-promise/
80•coloneltcb•1h ago•46 comments

Opening up 'Zero-Knowledge Proof' technology to promote privacy in age assurance

https://blog.google/innovation-and-ai/technology/safety-security/opening-up-zero-knowledge-proof-...
58•consumer451•3h ago•36 comments

The Underhanded C Contest

https://underhanded-c.org/
36•ccabraldev•3h ago•5 comments

The <Usermedia> HTML Element

https://developer.chrome.com/blog/usermedia-html-element
32•twapi•2h ago•14 comments

Physical disc production ending in Jan 2028 for new games on PlayStation

https://blog.playstation.com/2026/07/01/physical-disc-production-ending-in-january-2028-for-new-g...
604•Tiberium•13h ago•630 comments

Meta caps internal AI token spending

https://mlq.ai/news/meta-caps-internal-ai-token-spending-after-costs-approach-billions-in-2026/
112•typeofhuman•2h ago•88 comments

FFmpeg 9.1's new AAC encoder

https://hydrogenaudio.org/index.php/topic,129691.0.html
285•ledoge•11h ago•97 comments

Chip Off the Old Block

https://www.astralcodexten.com/p/chip-off-the-old-block
46•paulpauper•4h ago•5 comments

Qualcomm Linux 2.0

https://www.qualcomm.com/developer/blog/2026/06/qualcomm-linux-2-now-available
50•gilgamesh3•5h ago•12 comments

Visual Basic on the PC with Windows 3.1

https://stonetools.ghost.io/visualbasic-win31/
11•TMWNN•3d ago•4 comments

Proliferate (YC S25) Is Hiring

https://www.ycombinator.com/companies/proliferate/jobs/mMHvKR9-founding-product-engineer
1•pablo24602•5h ago

Box3D, an open source 3D physics engine

https://box2d.org/posts/2026/06/announcing-box3d/
417•makepanic•13h ago•92 comments

How do wombats poop cubes? Scientists get to the bottom of the mystery

https://www.science.org/content/article/how-do-wombats-poop-cubes-scientists-get-bottom-mystery
41•bushwart•1d ago•7 comments

Internal Combustion Engine (2021)

https://ciechanow.ski/internal-combustion-engine/
285•StefanBatory•13h ago•74 comments

Ask HN: Who is hiring? (July 2026)

164•whoishiring•11h ago•175 comments

Monetization Gateway: Charge for any resource behind Cloudflare via x402

https://blog.cloudflare.com/monetization-gateway/
250•soheilpro•12h ago•167 comments

Healthy but sedentary people show early decline in cellular energy production

https://news.cuanschutz.edu/news-stories/healthy-but-sedentary-individuals-show-early-decline-in-...
59•littlexsparkee•3h ago•48 comments

The Apple Disk II Controller Card

https://www.bigmessowires.com/2021/11/12/the-amazing-disk-ii-controller-card/
47•stmw•2d ago•11 comments

How We Made IPFS Content Publishing 10x Faster

https://probelab.io/blog/optimistic-provide/
148•dennis-tra•10h ago•48 comments

Flavor Graveyard

https://www.benjerry.com/flavors/flavor-graveyard
24•NaOH•3d ago•12 comments

Launch HN: Parsewise (YC P25) – Reason Across Documents with an API

45•gergelycsegzi•12h ago•45 comments

Weave Robotics launches Isaac 1, a $7,999 home robot with Fall 2026 deliveries

https://www.weaverobotics.com/isaac-1
80•ryanmerket•7h ago•126 comments

I Left Harry's All-Night Hamburgers

https://escapepod.org/2013/09/14/ep413-why-i-left-harrys-all-night-hamburgers/
75•rbanffy•4h ago•10 comments

Fable 5 Is Back

https://twitter.com/claudeai/status/2072402636813607381
322•mfiguiere•6h ago•304 comments

Ask HN: Who wants to be hired? (July 2026)

108•whoishiring•11h ago•252 comments