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/
5•supertommy•4h 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•3h ago
This is pretty amazing. AI still blows my mind.
supertommy•2h ago
thanks! yes, also really inspiring to see what we can all do with it now
Adxzer•2h ago
This is amazing, how much tokens did you burn doing this? Feels like 76k lines would cost a lot.
supertommy•1h ago
$200 Max subscription but yea, it would have cost a ton at API rates
vunderba•2h ago
Nice job. Given the attention to detail, I was a bit surprised that you made the jump height a fixed value though which no Mario game has ever done.

EDIT: Well except for maybe Hotel Mario on the CD-i. :)

supertommy•1h ago
yea... you got me lol I was literally thinking of adjusting that yesterday as the last tweak but I didn't get to it

good eye for detail

hahooh•1h ago
amazing, I should try writing with AI...
supertommy•49m ago
yes, it is a skill that requires learning like anything else
icely•27m ago
This is cool and the models look really good for this kind of project, impressive

Show HN: Real-time dashboard for Claude Code agent teams

https://github.com/simple10/agents-observe
10•simple10•30m ago•2 comments

Show HN: Sycamore – next gen Rust web UI library using fine-grained reactivity

https://sycamore.dev
75•lukechu10•4h ago•46 comments

Show HN: CLI to order groceries via reverse-engineered REWE API (Haskell)

https://github.com/yannick-cw/korb
166•wazHFsRy•2d ago•67 comments

Show HN: 1-Bit Bonsai, the First Commercially Viable 1-Bit LLMs

https://prismml.com/
358•PrismML•19h ago•136 comments

Show HN: Max Headbox, a local agent that fits on a Raspberry Pi 5

https://github.com/syxanash/maxheadbox
2•syx•1h ago•0 comments

Show HN: Postgres extension for BM25 relevance-ranked full-text search

https://github.com/timescale/pg_textsearch
184•tjgreen•1d ago•47 comments

Show HN: Baton – A desktop app for developing with AI agents

https://getbaton.dev/
55•tordrt•4h ago•44 comments

Show HN: Forkrun – NUMA-aware shell parallelizer (50×–400× faster than parallel)

https://github.com/jkool702/forkrun
140•jkool702•5d ago•37 comments

Show HN: Aphelo – A Redis-like store in C++ with Progressive Rehashing

https://veniatyrannus993225.substack.com/p/the-stop-the-world-problem-how-i
3•pranit_garje•21m ago•1 comments

Show HN: You Got Snarked: A snarky messaging app

https://www.siliconsnark.com/you-got-snarked-the-first-and-only-app-for-tech-snark/
2•SaaSasaurus•3h ago•0 comments

Show HN: Claude Code rewritten as a bash script

https://github.com/jdcodes1/claude-sh
39•rpst•17h ago•12 comments

Show HN: OpenHarness Open-source terminal coding agent for any LLM

https://github.com/zhijiewong/openharness
6•wangzhijie•3h ago•1 comments

Show HN: Draw a Picture for My Cat

https://brian.jp/blog/do-cats-dream-of-led-arrays-36/
3•lofties•4h ago•0 comments

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/
5•supertommy•4h ago•9 comments

Show HN: Agent Arnold – Gym tracker 100% vibe-coded from my phone between sets

https://agent-arnold.app/
4•bojanstef4•4h ago•0 comments

Show HN: Loreline, narrative language transpiled via Haxe: C++/C#/JS/Java/Py/Lua

https://loreline.app/en/docs/technical-overview/
67•jeremyfa•4d ago•20 comments

Show HN: ShellAgent – Open-source agentic terminal, bring your own API

https://github.com/victorantos/shellagent
3•victorbuilds•5h ago•0 comments

Show HN: Muscula – Lightweight error monitoring with CLI and MCP

https://www.muscula.com/
3•qzum•5h ago•0 comments

Show HN: Sundial – a new way to look at a weather forecast

https://sundial.page/
50•izaidi•1d ago•20 comments

Show HN: Amneziawg-installer – DPI-resistant WireGuard VPN in one command

https://github.com/bivlked/amneziawg-installer
2•bivlked•7h ago•1 comments

Show HN: EU Leadership – Live API data site comparing Europe to the world

https://ajh.ovh/
31•aureljohn•21h ago•10 comments

Show HN: Coasts – Containerized Hosts for Agents

https://github.com/coast-guard/coasts
95•jsunderland323•2d ago•38 comments

Show HN: I turned a sketch into a 3D-print pegboard for my kid with an AI agent

https://github.com/virpo/pegboard
64•virpo•1d ago•17 comments

Show HN: I built a virtual pet that gets stronger when you exercise

https://motion-app.com/
6•georgegreenldn•7h ago•4 comments

Show HN: Asciimap – Interactive ASCII world map with live data

https://github.com/Lionel-Lim/asciimap
8•limsight•17h ago•2 comments

Show HN: TraceLit – debug LeetCode step by step

https://tracelit.dev/
3•eric_z•9h ago•1 comments

Show HN: WordBattle – Daily word game where AI agents compete against humans

8•bradleybeddoes•10h ago•0 comments

Show HN: DreamGraph MCP v5 – An open source autonomous cognitive layer

https://github.com/mmethodz/dreamgraph
4•mmethodz•6h ago•0 comments

Show HN: Pardus Browser- a browser for AI agents without Chromium

https://github.com/JasonHonKL/PardusBrowser/tree/main
16•JasonHEIN•1d ago•8 comments

Show HN: DeepTable – an API that converts messy Excel files into structured data

https://docs.deeptable.com/
8•francisrafal•1d ago•0 comments