frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: I made a Mario Galaxy game with Claude Code and Three.js in 53 days

https://supertommy.com/games/super-mario-galaxy-movie-game/
2•supertommy•1h ago
I'm the developer. Happy to share the process and learnings.

Architecture:

- Custom SoA ECS for cache-friendly iteration, zero allocations in hot loops. Benchmarked against bitECS/miniplex.

- Process manager inspired by Game Code Complete's but data-oriented so processes are pure data, systems contain the logic.

- Multi-field gravity with 5 types (point, parallel, segment, cylinder, convex hull) with spring-damped transitions between fields.

- Rapier3D WASM with SIMD. Gravity-aware fake shadow system for playability.

- WebGL 2 shared context between Three.js and Pixi.js.

- Debug editor for placing objects, configuring settings, visualizing colliders, etc (Tweakpane + Three.js helpers)

76K lines of TypeScript. 735 commits. Runs on mobile. Plays best with gamepads.

The AI Process:

Claude Code (Opus) wrote ~95% of the code. I provided architecture, constraints, and direction; looked at some but not much of what it wrote.

My process for every feature: braindump what I want, relevant technical details, and "does this make sense?" into the chat. Largely unorganized. I built custom Claude Code skills like /lets-build:plan that spawns sub-agents to research the codebase first, then asks me clarifying questions. We go back and forth until it sounds right, then Claude writes plan documents split into phases so the app stays runnable after each one.

As we got closer to ship date, I started having Claude review its own plans. This mostly catches the main issues. Built dedicated skills for that too: /review-plan, /code-review, /retrospective, /ecs-review.

Where Claude struggled:

- It defaulted to OOP in TypeScript even though the project is data-oriented ECS. Took a lot of steering to overcome. Built /ecs-plan and /ecs-review skills specifically to catch and fix this.

- Level design failed completely. I tried making a CLI tool so Claude could help place objects in 3D space where "down" could be anywhere. Tried elevation maps, architectural diagrams; didn't help.

- At one point it had an index.ts that was thousands of lines long so ensuring a fast first paint was a disaster. I started refactoring manually but then felt it was a giant waste of my time to do it. So I had Claude map the dependency tree and do the refactor which was a piece of cake for it.

The hardest problems were the camera and the gravity shadows. Both work but still have edge cases. Galaxy's camera also has problems; part of that might be inherent to arbitrary gravity directions. The shadows are all fake, cast based on gravity field type, and the letter shapes (M, R) create concave, irregular geometry that Galaxy didn't have for planetoids.

87 plans total, averaging 2-3 pages each. The CLAUDE.md project file is 164 lines of hard constraints learned from debugging sessions. Every constraint has a token massacre behind it.

One of the biggest "wins" is having Claude create tools that you would probably never do for a project with a deadline in ~50 days. That time tradeoff (or even impossibility) is no longer valid and this likely compounds even more for longer projects.

Comments

chrisme123•48m ago
This is pretty amazing. AI still blows my mind.
supertommy•11m ago
thanks! yes, also really inspiring to see what we can all do with it now

Show HN: PixelPeople – Generate people in pixel art for React

https://youcefhq.github.io/pixelpeople/
1•YoucefHQ•1m ago•0 comments

Supreme Court hears birthright citizenship case with Trump in room

https://www.cnbc.com/2026/04/01/trump-supreme-court-birthright-citizenship.html
1•Betelbuddy•1m ago•0 comments

Rust Implementation of Claude Code

https://github.com/Kuberwastaken/claurst
1•kordlessagain•1m ago•0 comments

Wedeo – a Rust Rewrite of FFmpeg

https://github.com/sharifhsn/wedeo
1•sharifhsn•1m ago•1 comments

Show HN: LinkedIn for Clankers

https://clankerslist.ai/
1•rahulsingh34•1m ago•0 comments

The DI trick that predates keyed services in .NET 8

https://dotnetfiddle.substack.com/p/your-di-container-has-a-secret-pocket
1•refactormonkey•1m ago•0 comments

What Metrics to Monitor in Your Vibe Coded App

https://blog.appsignal.com/2026/04/01/what-metrics-to-monitor-in-your-vibe-coded-app.html
2•Liriel•2m ago•0 comments

Becoming a Day Person

https://herman.bearblog.dev/becoming-a-day-person/
1•surprisetalk•3m ago•0 comments

Puzzlehunts

https://www.vikramsaraph.com/blog/2026/04/01/puzzlehunts/
1•surprisetalk•3m ago•0 comments

A Brief History of Roombas with Fart Spray

https://taylor.town/roombas-with-fart-spray
1•surprisetalk•3m ago•0 comments

Did the CHIPS Act Trigger the Manufacturing Construction Boom?

https://www.factorysettings.org/p/did-the-chips-act-trigger-the-manufacturing
2•surprisetalk•3m ago•0 comments

Tech giant Oracle reportedly blindsides thousands with emailed layoffs

https://www.sfgate.com/tech/article/oracle-layoffs-ai-22175253.php
3•bookofjoe•5m ago•0 comments

Announcement: Temporary LLM Content Ban

https://old.reddit.com/r/programming/comments/1s9jkzi/announcement_temporary_llm_content_ban/
1•birdculture•6m ago•0 comments

The Cathedral, the Bazaar, and the Winchester Mystery House

https://www.dbreunig.com/2026/03/26/winchester-mystery-house.html
1•dbreunig•6m ago•0 comments

Heaviside: Foundation Model for Electromagnetism

https://twitter.com/_i_am_arya/status/2038993003579347247
1•MrBuddyCasino•6m ago•0 comments

Are tech companies even hiring?

2•KernelPryanic•6m ago•0 comments

GitDibs: Call dibs on a Git commit hash

https://gitdibs.com
1•andyg_blog•6m ago•1 comments

OnlyOffice kills Nextcloud partnership for forking its project without approval

https://www.neowin.net/news/onlyoffice-suspends-nextcloud-partnership-over-unapproved-euro-office...
2•bundie•7m ago•0 comments

Remember Bingo Card Creator from Patio11?

https://quietlight.com/listings/38624/
1•meetingthrower•7m ago•1 comments

ResQMesh AI – on-device ML for BLE mesh emergency communication (Android, GPL-3)

https://github.com/AleksPlekhov/ai-mesh-emergency-communication-platform
1•Porphyrin_24•8m ago•0 comments

Show HN: HN Remixed to only show AI Doom (or not)

https://hn.ai-doom.cc/
1•easygenes•8m ago•0 comments

I built a programming language at 15 – and it's fully usable

https://github.com/entrenchedosx/kern
1•redempt1on•9m ago•0 comments

Nicholas Carlini – Black-hat LLMs [video]

https://www.youtube.com/watch?v=1sd26pWhfmg
2•ogig•10m ago•0 comments

AI has suddenly become more useful to open-source developers

https://www.zdnet.com/article/maybe-open-source-needs-ai/
3•CrankyBear•11m ago•0 comments

There's still no free lunch in data analytics

https://getcassis.com/blog/no-free-lunch-data-analytics
1•matthieu_bl•11m ago•0 comments

Show HN: Clanker Cloud – deploy reliably and fix your infra

https://clankercloud.ai/
2•tekbog•12m ago•0 comments

Coder Secures $90M Series C Led by KKR

https://coder.com/blog/90m-series-c-led-by-kkr-to-advance-secure-enterprise-ai-development
1•hazygrinder•13m ago•0 comments

The Old Internet Is Still Here

https://tylergaw.com/blog/the-old-internet-is-still-here/
2•klaussilveira•13m ago•1 comments

Show HN: GitResume – Resume as Code for Engineers

https://gitresume.co/
1•yhao3•13m ago•0 comments

We Are a Kafka Company, Too

https://streamnative.io/blog/we-are-a-kafka-company-too
1•aaronrobert•13m ago•0 comments