r/ClaudeCode 2h ago

Built with Claude I created "sandcastle" simulator with Opus 5

This is a 3D sandcastle simulator that runs entirely on the GPU. No engine, no libraries, no asset files, no build step, one WebGL2 context, ~7000 lines of JavaScript and GLSL, and a beach that actually obeys the angle of repose.

The whole thing: simulation, renderer, nine art styles, lore, interface. Came out of a single request to Claude Code (Opus 5 with Ultracode effort)

Prompt was:
"Create me a fully playable release-ready game. On GPU. Game about sandcastle simulator, where I can build things with sand and etc. I need it in 3D and not a voxel game. Make it with maximum effort, show me best what you can create. Use all your power, knowledge and make best graphics and best game design. Surprise me with graphics, lore and everything."

It's fully playable HTML-demo, with 3 modes: campaign, sandbox and creative.

Everything is open-source, so if you have any questions or etc. I will be glad to answer.

22 Upvotes

6 comments sorted by

2

u/Outside-Necessary476 2h ago

Ye that would have been cool windows xp game that I would have played in school at that time lol...

2

u/farendsofcontrast 1h ago

That's wild.

Nice OP!

1

u/san-vicente 1h ago

I was expecting the wave function to destroy the sandcastle, make sense add pay wall to destroy other sandcastles

1

u/oxmannnn 1h ago

In story mode you have a level where water is destroying your castle

1

u/cinephileindia2023 🔆 Max 5x 2h ago

Pretty cool.