Settings

Theme

Show HN: Daily vibe-coding video games, day 33: Tower Defense (single prompt)

gamevibe.us

8 points by pzxc 2 months ago · 8 comments · 1 min read

Reader

I'm using AI (mostly Claude) to create/publish a new video game every day

This is day 33, first stab at the tower defense genre. Most of the games (including this one) I build with a single prompt. Rarely, a couple extra prompts are needed for bug fixes or to tweak the physics/UI. Extremely rarely, the AI has difficulty making the game work right (usually drawing it) and it takes a dozen or more prompts -- but the majority of the time, it gets everything right and makes a fully playable game first try

Happy to answer any questions, just a little hobby project of mine I'm having lots of fun with :)

dgeiser13 2 months ago

You should share more about the process. What does the prompt look like for this game for example? What language does Claude end up writing it in?

  • skanga 2 months ago

    Agreed. That's more interesting than the game - for some at least ...

    • pzxcOP 2 months ago

      I did share the prompt, it's right below the game :) I do the same for most of the games I build (one each day). Some of the games take a lot of prompts to fix/adjust things, but most require only a single prompt -- this one (Tower Defense) required just 1 sentence, a few words, that's it

      As for the language, the whole application is set up with c#/.net on the backend and React/vite/js on the frontend so each game is built with that in mind. No gaming engines or physics libraries or anything, Claude handwrites all of it.

chequoredDaemon 2 months ago

I was able to set up an undefeatable defense.

I stopped it after an hour or two but it would have just kept going afaict.

0gs 2 months ago

I passed the first wave even though I did not kill most of the invaders. On the other hand, I couldn't dream of a single question to ask.

janalsncm 2 months ago

The arrow towers don’t hit the targets.

59klxkobm 2 months ago

Ek Ladki number hai

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection