frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: What game engine would you recommend for vibe coding?

5•general_reveal•12h ago
I feel like things like Unity and Unreal have a lot of UI-centric workflows that wouldn’t be great for vibing.

Comments

OsrsNeedsf2P•12h ago
Wow, something I can answer!

I've been working on Ziva[0], an AI plugin for Godot that's explicitly for game development. Game development is hard and a different paradigm than regular coding, so there may be a learning curve, but we're working to flatten that out.

Happy to answer any questions!

[0] https://ziva.sh

vunderba•12h ago
Just a heads up, it's highly unlikely you're going to be able to get away with pure vibe coding (as defined by Karpathy) for game dev.

There's just no way around the fact that games need a lot of play-testing and visualization, all of which is difficult to capture discrete unit tests.

Many of the games I've released using an agentic CLI (OpenCode) would have been absolutely impossible to vibe code.

That being the case, any library that’s been around long enough to be well represented in the training data of the larger LLMs will work perfectly fine. Love2D, Phaser, etc., would all be solid options.

Leftium•7h ago
# I think it's possible to architecture around this. For example, here is one idea:

- make the game as functional as possible: as in the game state is stored in a serializable format. New game states are generated by combining the current game state with events (like player input, clock ticks, etc)

- the serialized game state is much more accessible to the AI because it is in the same language AI speaks: text. AI can also simulate the game by sending synthetic events (player inputs, clock ticks, etc)

- the functional serialized game architecture is also great for unit testing: a text-based game state + text-based synthetic events results in another text-based game state. Exactly what you want for unit tests. (Don't even need any mocks or harnesses!)

- the final step is rendering this game state. The part that AI has trouble with is saved for the very end. You probably want to verify the rendering and play-testing manually, but AI has been getting pretty decent at analyzing images (screenshots/renders).

# Here is an example of a simple game developed with functional architecture: https://github.com/Leftium/tictactoe/blob/main/src/index.ts

- Yes, it's very simple but the same concepts will apply to more complex games

- Right now, there is only rendering to the terminal, but you could imagine other renders for the browser and game engines

nachocoll•5h ago
Interesting question that highlights a broader challenge with vibe coding in any domain: the choice of framework matters less than having clear architectural boundaries that guide what the AI generates.

The comment about games needing play-testing and visualization is spot on. What's worth adding is that this is actually a general principle — vibe coding works best when you have explicit architecture upfront constraining where and how generation happens.

This is one of the ideas formalized in the Agile Vibe Coding Manifesto (https://agilevibecoding.org) — specifically "Architecture guides and constrains generation." Whether you're building a game or a web app, if the AI is generating code without clear structural boundaries, you accumulate unmaintainable complexity fast. For game dev, that means thinking through your state representation, entity model, and rendering separation before you let the LLM loose.

For frameworks: anything with strong conventions and heavy LLM training data (Godot, Phaser, Love2D) will work better than opinionated engine-first workflows.

Ask HN: Remember Fidonet?

65•ukkare•2h ago•41 comments

Ask HN: What Are You Working On? (March 2026)

277•david927•1d ago•1036 comments

The Architecture of an Exit Scam: A Technical Audit of Zszrun

3•cappyfjao•2h ago•0 comments

Ask HN: Since a week HN keeps logging me off every few days, why?

5•epolanski•3h ago•0 comments

Ask HN: What AI content automation stack are you using in 2026?

2•jackcofounder•3h ago•2 comments

Ask HN: Do you still run Redis and workers just for background jobs?

2•sergF•4h ago•6 comments

Ask HN: How to be alone?

661•sillysaurusx•2d ago•545 comments

Ask HN: Can I repurpose a Bluetooth voice remote as input device for a PC?

15•albert_e•2d ago•20 comments

Ask HN: Please restrict new accounts from posting

699•Oras•1d ago•493 comments

Why is GPT-5.4 obsessed with Goblins?

7•pants2•8h ago•4 comments

Ask HN: Most beautiful personal blog UI you have ever seen?

131•ms7892•1d ago•53 comments

Why is email so resilient as a technology?

5•noemit•3h ago•4 comments

Ask HN: Is GitHub getting less reliable, or is it just me?

7•_pdp_•16h ago•5 comments

Ask HN: Favorite Non-Spammy iPhone Games?

3•bix6•11h ago•3 comments

Tell HN: I'm 60 years old. Claude Code has re-ignited a passion

1063•shannoncc•3d ago•968 comments

Ask HN: What game engine would you recommend for vibe coding?

5•general_reveal•12h ago•4 comments

Ask HN: Read‑only LLM tool for email triage and knowledge extraction?

2•maille•14h ago•3 comments

Ask HN: Any informed guesses on the actual size/architecture of GPT-5.4 etc.?

4•dsrtslnd23•14h ago•0 comments

Code-review-graph: persistent code graph that cuts Claude Code token usage

2•tirthkanani•18h ago•0 comments

Ask HN: Who Needs Help?

14•surprisetalk•22h ago•8 comments

A job ad for Agentic AI Advocate

4•greenpinia•22h ago•1 comments

Ask HN: Are showlang and thelang HN endpoints not being maintained?

4•freakynit•23h ago•1 comments

OpenAI might end up on the right side of history

12•shoman3003•1d ago•10 comments

Ask HN: Anyone else feel this community has changed recently?

56•kypro•3d ago•29 comments

Ask HN: How are you handling persistent memory across local Ollama sessions

5•null-phnix•2d ago•0 comments

All tmux sessions as a single terminal

2•lygten•1d ago•1 comments

I replaced my freelance SaaS stack with 5 single-file HTML tools

5•AnnSri•1d ago•2 comments

Whisker – Self hosted e-commerce cart, pure PHP, zero dependencies

7•eLohith•2d ago•3 comments

Ask HN: Are we going to see more job postings asking for only agentic coding?

6•ronbenton•1d ago•10 comments

Ask HN: Which book are you reading these days?

5•chistev•16h ago•18 comments