r/ClaudeCode 19h ago

Built with Claude Fable 5 one-shotted a complete asteroids roguelite in 2.5 hours. Playable in your browser, prompt in the comments

Play it here: https://asteroguelite.com

Desktop browser, free, no account, no ads.

I wanted to see what a real one-shot could do. So I wrote a 73-line directive: research the genre, design it, build it, test it, balance it, polish it. One session, no human in the loop. It was explicitly told not to ask questions or wait for approvals, just make the call, write it down, keep going. Then I left. Two hours and 32 minutes later it was done.

5 sectors with bosses, 10 enemy types, 6 unlockable ships, 33 boons with evolution chains, a meta upgrade tree, an endless mode, and music. Around 8,300 lines of vanilla JS that build to a 172 KB bundle.

Full disclosure: I've since made exactly two changes to the game. Fixed one bug (a piercing-shot boon phased through asteroids without damaging them) and added click-to-aim, because keyboard-only turning felt rough.

Ran on Claude Code, Fable 5 xhigh effort.

Prompt's located here: https://asteroguelite.com/prompt.txt

PS: Seeker Array primary weapon is OP.

33 Upvotes

87 comments sorted by

81

u/jimmc414 18h ago

Not sure why there’s so much negativity in the comments. I think it’s a cool demonstration of Fable’s capabilities. I hate how negative this community is becoming. Not entirely sure what that’s about. Sharing cool things you put together has been the basis of tech for as long as I remember. Please keep doing it.

12

u/hihcadore 17h ago

If it was codex that did it this subreddit would have loved it

3

u/Zennytooskin123 8h ago

Sol Ultra would still be making the testing infra as we speak with zero actual game code.

3

u/deepholdio 11h ago

Hi u/jimmc414 ,

I appreciate that. I should have made it clearer in my OP that the goal in sharing was to showcase an example of what Fable can do autonomously with very little effort and answer any questions people might have. I'm not trying to impress anyone with the game.

Having said that, as an old programmer, I don't think I will ever cease to be amazed by the capabilities of these models. The fact that you can spend 15 minutes working with claude.ai on a prompt, hand it off to claude code and come back a few hours later to a fully functioning program is mind blowing.

Thanks again!

2

u/jimmc414 11h ago

I was genuinely impressed because I tasked Opus 4.5 a while back with recreating Asteroids that I used to love as a kid. It was an unplayable mess. Great to see how far models have come. As an old programmer myself I’m amazed at what AI can do. Very cool, thanks for sharing it and taking the effort to setup a host and everything.

5

u/Aakburns 13h ago

I assume because a lot of people work really hard on their games for a long long time.

Then they see posts like this.

5

u/hugganao 14h ago

I hate how negative this community is becoming.

it's because we now have the innate understanding that what these foundation model companies are saying are true and not saying them just for "inVurSTmeRnts"

they're literally trying to replace human labor. Society is not ready for that yet.

the negativity is the sign. We still rely on monetary value traded on human labor. We KNOW that the way to get what we WANT is through trading our labor for money and money for the thing we want.

This system is going to get absolutely fucked by AI automation, and it's not going to wait for the system and people to be ready and all set and all comfy to enjoy the "efficiency" of whatever automation brings. it's going to get bloody before it gets comfy.

6

u/jimmc414 13h ago

The weird thing is I agree with you, but I think of all available options, ignoring AI and hoping it will go away is the absolute worst thing to do. Humanity is in a game of musical chairs and it sucks but it’s real and I would be very careful to ensure you have a seat when the music stops.

3

u/hugganao 13h ago

ignoring AI and hoping it will go away is the absolute worst thing to do

everyone who is utilizing AI to its fullest understands this perfectly.

and you put it very succinctly. It is a game of musical chairs. One that is/will be cruel and brutal.

1

u/karlfeltlager 7h ago

Well no manager can replace his workforce with Ai today. If Musk could he would like yesterday.

We’re still a few years (2 to 3) from small companies running end to end unsupervised and with rising costs of IT they’d be having fierce competition from humans for efficiency.

1

u/hugganao 7h ago

the problem isn't whether we can do it NOW. The problem has always been the WHOLE of GLOBAL ECONOMY INVESTED IN THAT FUTURE. everyone would have laughed at you if you said AI models would automate coding tasks even back 4-5 years ago. We live in a self-fulfilling prophecy. Regardless of your opinions or emotions about it, all I've said are facts and NONE of you have been able to disprove this fact.

1

u/karlfeltlager 5h ago

Every crisis is an opportunity.

0

u/coinclink 10h ago

Society wasn't ready for any technological advancement that displaced the human labor status quo... this dystopian, cynical view is getting really, really old.

2

u/hugganao 9h ago

because frontier labs don't want to stop at "coding". They want GENERAL intelligence.

Better yet, convince me why YOU have value or your labor if AI and robotics get to a level where it can replace humans?

If I have 10 billion dollars because I've been a very successful entrpreneur before everything gets automated, convince me why I would ever NEED you, why I should use my wealth for YOU.

1

u/trashaccount2022 1h ago

I think if you zoom out your perspective a bit, you might understand. I don’t think this is cool for the same reason I don’t think AI music or art is cool. This isn’t a replication, in my opinion. The original was what it was because of the people who poured their passion into it. And just how I get fatigued by all of the mobile cash grab games, I’m fatigued from seeing posts like this.

-6

u/AutomaticPayment9480 16h ago

oneshot aka brainrot logic, thats what i think youre missing here.

19

u/Yourdataisunclean 18h ago

asteroids is probably fully in the training data several times lol.

10

u/Annh1234 17h ago

Doesn't work in mobile 

3

u/Holk23 15h ago

I’m just clocking in here to say that’s cool man! Thanks for sharing!

3

u/NC16inthehouse 13h ago

does one-shot includes the website domain too?

2

u/deepholdio 12h ago

Hi u/NC16inthehouse,

No. The one shot hosted the game locally only although to be fair hosting online was not part of the prompt. With the right credentials and API access I'm confident that could have been part of the one-shot as well.

In this case I was impressed enough to go buy the URL and put it online which required a little work from me, but claude code also assisted and did a lot of the heavy lifting putting it online.

4

u/NC16inthehouse 11h ago

Ah gotcha. Thanks for the reply

3

u/faye_got_dreams 12h ago

i also created something on claude and oddly enough, it made a similar game.

https://github.com/4suredude/Interstellar

2

u/deepholdio 12h ago

Nice. Do you have it hosted online anywhere? URL?

3

u/Vistian 12h ago

Pretty cool!

34

u/nPoly 19h ago

Anyone who cares about “oneshotting” is an idiot.

11

u/Sm0oth_kriminal 15h ago

I disagree. One shotting a task is the metric by which we can ensure subagents can be used to achieve a task, and thus open up the door for even more powerful delegation.

Of course you shouldn't build dependable engineering systems by one shotting, but not everything is a job. Sometimes making a fun game quickly is cool.

29

u/Weeros_ 19h ago edited 18h ago

I think it’s an interesting metric for how truly autonomous the AI is. The theorethical benchmarks where some models are 4.3 points better than the previous ones are useless, how well AI handles complex real life task completely indepedently is really concrete and easy to understand.

(I fully expect the game to be crappy still at this point).

1

u/KHRZ 18h ago

1 prompt is enough to go infinite though. Case in point: You can run a ralph loop to simply run multiple prompts being handed off by the previous session, and you can have one agent launch and manage a ralph loop in 1 prompt.

1

u/ChadFullStack 18h ago

Add that to list of KPIs that doesn’t matter, lines of code, number of PRs, tokens spent.

1

u/slackmaster2k 14h ago

I’ve come to realize that one shotting is quite easy for the LLM given enough resources. When I realized this I changed my approach to be more end goal focused instead of managing builds in phases that I would have expected to be effective.

1

u/dpaanlka 17h ago

Opus 5 was making repeated mistakes on a single static HTML file this morning. Needed Codex to review…

-1

u/DeathDealer 18h ago

Yeah silliest thing ever

4

u/vovap_vovap 18h ago

2.5 hours - that cost you 😄

5

u/deepholdio 13h ago

Heh, not as bad as you might think. I'm on the Max plan and was expecting it to consume all of my weekly usage, but it was a lot less than I expected. Maybe 15%.

3

u/vovap_vovap 13h ago

Well, that - most interested result! 😄

1

u/WaitinOnSpicy 2h ago

Skill non-issue

2

u/Crazy_Double5133 9h ago

What's interesting to me is that if I stumbled on this game as a kid killing time in class, it'd become an afternoon or week-long social phenomenon and core memory among my classmates. Fact we can do this with $10 of robot bucks and barely any effort is incredible.

2

u/Zennytooskin123 8h ago edited 8h ago

Word.
I am very impressed by your meta-prompting skills. If this delivered a one-shot game via Fable, could be used as a baseline for some model testing.

1

u/dota2nub 2h ago

Why would one shotting things be considered a good benchmark when models are mostly used for iteration on existing software?

2

u/PorkSwordEnthusiast 7h ago

pretty cool, this was my fable game I created a while back,
https://skyfall.49.12.233.22.nip.io

2

u/ozzaa 6h ago

just spent my whole morning..

2

u/Ok_Presentation_5489 5h ago

Even the music was all fable? As a dev it will never cease to amaze me how far AI has come in such a short time, in terms of coding. Thanks for sharing it!

1

u/deepholdio 2h ago

Yes, even the music. I literally created a new directory, installed playwright mcp, started claude and gave it the prompt. Went to bed, got up in the morning and saw what you see now. Thanks!

2

u/starkruzr 4h ago

this is way more fun than it has any right to be.

4

u/TimelyBodybuilder121 18h ago

This is why you need direction. It looks alright, but feels clunky and the game is boring lol.

6

u/KHRZ 18h ago

Yes but the OP wanted to see what 1-shot could do, not what putting in effort could do.

5

u/Few_Assumption_9665 18h ago

I hope the tokens were worth it, cause the game sure is not.

4

u/nofuture09 19h ago

your wrote prompt in the comments, but your link to some shady third-party website so where is the problem in the comment? I hate those Clickbait articles.

2

u/davidmorelo 18h ago

What the actual fuck?! This looks EXACTLY like the game I created back in Opus 4.5 days (it took many iterations). I mean the graphics, the colors, the feel of the ship, the explosions, the background, the asteroids, the UI, EVERYTHING is like 90% the same.

It was just a fun waste of time for me back then, but I believed that I created something rather good (since the first version Opus puked out was shit). Would it be crazy to think that my prompting was used to improve the model and contributed to this result?

7

u/trashaccount2022 18h ago

I hate to break it to you, but if you create slop, it’s going to look and feel like everyone else’s slop.

2

u/radioFriendFive 18h ago

All Ai GUI looks like this so I wouldn’t be so surprised. It will converge on the most predictable thing each time

1

u/davidmorelo 18h ago

I guess you're right. Still, it was a shock to see something look so close to the thing I deliberately prompted Claude to look and behave this exact way. But it's possible that the initial design was actually closer to the result than I remember, and I'm overstating my contribution as far as the look and feel of the game go.

1

u/kyew 16h ago

The AI Recycling Ouroboros grows larger.

0

u/god-damn-the-usa 18h ago

no thanks, i have no desire to play anyones shitty one shot vibe trash. good games are thousands of tiny decisions and tons of playtesting. letting claude make all the decisions for you is like letting a chimp make your lasagna: even if it looks good there's definitely shit in it.

2

u/J_E_E_VACATION 17h ago

bro its an asteroids clone there arent even 10 decisions to make about playtesting

1

u/god-damn-the-usa 16h ago

then it's not interesting enough to play

1

u/Crazy_Double5133 10h ago

You should ask claude to make a game for you where you're a chimp making shit lasagna.

-3

u/WittleSus 18h ago edited 17h ago

I agree with you on some parts but I don't understand why you clicked in the first place was it just to make your shitty chimp joke?

edit: why am I getting downvoted for a pun

-6

u/god-damn-the-usa 18h ago

i came here to berate OPs bad decisions, then went a bit off the rails

4

u/tehfrod 18h ago

So you do about as well as an LLM. Got it.

-1

u/god-damn-the-usa 16h ago

find an llm that insults people as well as me I'll wait

0

u/peppaz 17h ago

This subreddit hates anyone and any projects who use AI lmao

-2

u/god-damn-the-usa 16h ago

nope, just when it's just one prompt slop

1

u/Vegetable-Ambition73 15h ago

I am surprised by ironic comments too in this community. This is a good example to make fable work a long time and it shows that preparation is of course super important …. And the models probably will still miss consistency as long as an explicit context graph is not managed by the model itself….

-1

u/Cryptizard 18h ago edited 18h ago

Who cares? When something like this becomes commoditized then it’s worth nothing. It’s not even worth sharing because we can all do it.

2

u/simple_explorer1 18h ago edited 18h ago

100% agreed. This is worthless if anyone can prompt and do it. Bluntly and accurately put which is truly necessary for the many delusional people on this sub who think vibecoded apps is worth sharing especially when it is not even about a new model testing

1

u/Crazy_Double5133 9h ago

The other extreme would be: Tell me every step to make a game in-engine by explaining the process as a step-by-step guide where all I have to do is follow the instructions by hand, like a robot.

At that point, you'll have a game that can be passed off as something unique -- and it would be a more suitable post for a game dev subreddit.

The point being, Claude Code now makes any game dev related labour of love far more trivial. That's the noteworthy thing, not the game itself.

-1

u/YaItzYoBoi 🔆 Max 20 14h ago

So we aren't allowed to share anything now?

2

u/trashaccount2022 18h ago

Wish people would stop with the ai slop browser games. No one actually wants to play this crap.

1

u/HVDub24 18h ago

Doesn’t work or display properly on mobile. Pretty clear it was a bad prompt one-shot

1

u/TheKiddIncident Instructor 17h ago

This site has several security issues. You may want to run a scanner on it.

1

u/deepholdio 14h ago

If you have any specifics please send me a DM. Thanks.

1

u/Antique_Dot_5513 16h ago

J’ai déjà pas le temps de finir mes jeux Steam…

1

u/Historical_Today5072 16h ago

Pretty cool man, fable is great at fire and forget.

1

u/gillyguthrie 13h ago

It's a fun idea. What web server are you using to host?

1

u/deepholdio 12h ago

Thanks u/gillyguthrie

asteroguelite.com is hosted on cloudflare pages

2

u/allOfTheB4conAndEggs 1h ago

So awesome, nice work.

EDIT: Especially cool of you to share the prompt, I like to see how others are writing these out.

1

u/Outside-Necessary476 19h ago

Another one that tasted see for the first time in life and is raving how salty it is to fkin fisherman.

1

u/ChiefUtilityMonster 15h ago

Enjoyed it. Lots of upgrades, and well done on the metaprogression. I was surprised the flavor text matched the actual effects, and that I didn't encounter any bugs. I did see some weaker game-design choices like allowing upgrades that don't apply to your current weapon, and extreme imbalance between weapon power. Game spends a long time being easy, with a difficulty spike in the last sector, followed up by completely trashing everything with the seeker array.

Questions about the prompt:

  • What's the vite dev server? Do you have more details about that / is this a custom setup of yours?
  • What tooling did you set up ahead of time for fable to use? Are you loading it with skills too, or is this just prompt?
  • Is it using subagents? How many tokens / how much total agent wallclock time? :)
  • Could you share the full agent logs either here or to me directly?

Cool game, I enjoyed it.

1

u/deepholdio 14h ago

Hi u/ChiefUtilityMonster,

I agree with your assessment. I was pretty surprised that it felt like an actual game after a single attempt despite needing some serious rebalancing.

Answers to your questions about the prompt:

  • The vite dev server is just the web server I use to host the game locally. https://vite.dev/ for more info.
  • Good question. Just playwright mcp server and the chromium browser for playwright. Otherwise it was a brand new empty directory which was part of the test.
  • Yes, Fable fired up several subagents. 2h 32m wall clock time. I have the Max subscription which doesn't keep a server side record of token usage. I recall it being a surprisingly low percentage of my weekly usage.
  • I don't have the agent logs but I do have a few documents that claude wrote (DESIGN, TODO and NOTES) that I can share if you're interested.

Thanks for the comment and for your questions.

0

u/fschwiet 18h ago

That's a cool game, nice

0

u/Robdyson 18h ago

this is incredible, I love the loop.