Hacker News new | ask | show | jobs
by h0l0cube 1774 days ago
> We are already starting to see automated programming moving out of the research lab and into the commercial realm, e.g. GitHub copilot.

As soon as GitHub was acquired by Microsoft I knew their intentions were for automated coding tools. I wasn't concerned about this affecting my livelihood in the short to medium term, because state-of-the-art ANNs won't be able to grasp the context of business requirements without developing adult human level intelligence. Thus, even a full program built by such a system would need to be verified by a human to be sure it will behave as desired, obviating any gain in terms of automation. Even the rudimentary boilerplate that copilot spits out suffers from this problem.

1 comments

I started thinking about how you might automate game development, and I think it's a pretty good thought excercise on the topic.

I feel like the end result is just what we already have, game engines with visual programming and drag and drop editors. You don't add much value by automating the programming since you still have to define the input and outcome.

The real win was building the complex logic and state editor into a good UX.

This video really amazed me in terms of automated game development. My fantasies are something like this and GPT-3 plus a couple decades of progress.

I think we'll get to genuinely open ended sand box games.

https://youtu.be/udPY5rQVoW0

Predicting the next frame from previous frames and learnt sequences is a neat trick, but I think automated game development is already very possible with simple techniques like genetic algorithms, or even a PRNG. I mean Rogue and it's descendants are very much automated game development, but GPT-3 could be useful for something like dynamic quest generation, world-building, narrative, adaptive NPCs (including dialogue) etc.
I'm not sure classic procedural content generation like in rogue-likes is all that comparable to using a GAN to run the whole game?

Have a look at the video, it's quite impressive.

I've seen it before, and I've a basic understanding of GANs, I just don't see it being overly useful. This technique can make a really blurry simulacrum of an actual game, and that's really cool, but I'm not sure how it could be used to make a something both truly novel and coherent. There's plenty of low hanging fruit for AI within an engine, whereas using AI to be the entire engine is somewhat infeasible
You are right about the technique not being very useful as of today. My fascination stems from my assumption that more resources poured into this approach would yield vastly better results.

Even just watching the video, I came up with several possible improvements to try out. Eg adversarial training, that would really hone in on the situations and aspects where the model is weak so far, like edge conditions; instead of just using normal gameplay as input.

And this is where I think of the game-side of games programming to be more an art form (I say this as an ex-professional game developer). GPT-3 could be used for narrative generation, environment generation, and adaptive AI, and these are all exciting areas for research and experimentation. But as you say, underneath is a solid engine, and one day an AI could feasibly build an engine from scratch, but I think that day is decades away. The AI that we have today are just toys.