Skip navigation
I just recreated a basic 3D DOOM game using Claude Sonnet 3.5 with Artifacts in just 3 prompts!
0:00 / 0:50

I just recreated a basic 3D DOOM game using Claude Sonnet 3.5 with Artifacts in just 3 prompts!

Ammaar Reshi

@ammaar114K followers

Visit on X
731 likesDownloadOriginal post

221,543 views

I just recreated a basic 3D DOOM game using Claude Sonnet 3.5 with Artifacts in just 3 prompts! The game has a procedurally generated map, sound effects, zombies that come after you, and a mini-map 👾 To do something like this took me 2 days when GPT-4 first came out. Wild!

48 Comments

Comments from the original post on X (Twitter)

  • Ammaar Reshi's profile picture

    @ammaar

    Eventually Claude actually couldn't complete the game because it's context-window ran out, so I asked it to write the game and keep all of the functionality but removing any unnecessary spaces and comments in its code, and that worked!

    54 likes

  • Dan's profile picture

    @goldcaddy77

    Wow, I thought my 3D ball pit was pretty sweet. Doom?!?

    11 likes

  • Ammaar Reshi's profile picture

    @ammaar

    Whoa that is sick!

    5 likes

  • Dylan White's profile picture

    @dylanpaulwhite

    Yeah it’s so powerful. I just created a strategy game where you run the mafia. Took me a half hour. Claude is a beast!

    8 likes

  • Ammaar Reshi's profile picture

    @ammaar

    That’s so sick!

    1 like

  • BeyondBacktesting's profile picture

    @BBacktesting

    Yeah, sonnet is great at 1 shot coding and explaining but I'm finding gpt-4o better for iterative improvement at this time. It took me only 12-15 minutes to do this GPT-4o and Hacker Gnome. And I can keep improving. Here's the chat. Poor man's artififacts

    6 likes

  • Ammaar Reshi's profile picture

    @ammaar

    Oh that’s cool! Thanks for sharing!

    1 like

  • BeyondBacktesting's profile picture

    @BBacktesting

    Sonnet is a lot stronger at coding all visual stuff. It's a lot more proficient, but I'm not sure yet if it's more intelligent.

    1 like

  • Prateek K. Keshari's profile picture

    @prkeshari

    Just built a full app with it. Wild indeed! 😨

    4 likes

  • Ammaar Reshi's profile picture

    @ammaar

    Nice! 🔥

    1 like

  • Naureen Mahmood's profile picture

    @naureenmahmood

    Did it also add in collision detection? Looks like it did! This took me a a few days of sleepless coding to program back in 2004 during my undergrad graphics course. And I didn't even have sound effects.

    3 likes

  • Ammaar Reshi's profile picture

    @ammaar

    It did! Some zombies were even getting stuck at the walls 😂 needed to prompt it to fix that one.

    3 likes

  • Naureen Mahmood's profile picture

    @naureenmahmood

    I remember that problem too! all it took was a prompt to fix it!? 🥲 so good!

    1 like

  • solemnly's profile picture

    @suisuyus

    This is a great large language model for code, I found it can generate complex code without bug. Much better than chatgpt this time

    2 likes

  • Ammaar Reshi's profile picture

    @ammaar

    Yeah totally agree

  • Humbot's profile picture

    @Humbot_AI

    Amazing work

    2 likes

  • Ammaar Reshi's profile picture

    @ammaar

    Thanks!

  • Mike Hogan's profile picture

    @mikehogan_

    The new Claude 3.5 Sonnet is an excellent development pair. Quite a step up from the previous model, and beats GPT hands down. It has helped me find simpler, cleaner and more general solutions that I could have done on my own. The code works first time. And is even executable in the artifacts pane. The pricing engine in Breezbook is gleaming as a consequence, and a joy to work with.

    2 likes

  • Dominik Witczak's profile picture

    @DomWitczak

    This is not Doom, this is a ray caster. Feels important to bring this up, with all the recently seen shows of straight hostile attitude towards artists whose contributions to the final look of a software product are plainly fundamental.

    2 likes

  • Everett World's profile picture

    @WorldEverett

    Just 3 prompts?! That's just crazy and we're just getting started... :D

    2 likes