TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Copying Angry Birds with nothing but AI

651 pointsby hackerbeatover 1 year ago

45 comments

leshokuninover 1 year ago
Disclaimer: I was a PM on Angry Birds.<p>This is such a great demo. The original used Box2D,LUA scripting, and of course you had to make enemies and levels.<p>There&#x27;s obviously no expectation that you&#x27;d make a hit game from the tech in its current state. You&#x27;re bound to be limited by the tech, rather than your own skills.<p>But for rapid ideas, for prototypes, for game jams, this is a game changer. I can also see it as a great alternative to Scratch for kids to play around with ideas. Hope to see more platforms try to turn this into an offering!
评论 #38092852 未加载
评论 #38097116 未加载
invalidusernam3over 1 year ago
I did a similar exercise recently when I needed to make a fairly basic rest API and CRUD frontend using 2 frameworks I wasn&#x27;t particularly familiar with. I used GPT4 to generate ALL the code for it. I&#x27;ll write a blog post about it soon, but a quick overview was:<p>I suspect it was slower than just writing the code&#x2F;referencing the docs, and would be much slower than someone could do if they were experienced with the two frameworks. I had to be very specific and write a few long and detailed prompts for the more complex parts of a the application. It took around 5 hours to make the application, with a lot of that time spent sitting waiting for the (sometimes painfully slow) ChatGPT output. In a framework I&#x27;m more familiar with I think I could have easily got it done in under 2 hours<p>It was definitely useful for making sure I was doing it the correct way, kind of like have an expert on call for any questions. It was also very useful for generating perfectly formatted boilerplate code (some frameworks have CRUD generation built in, but this one did not).<p>It was a fun experiment, and I found it useful as a learning&#x2F;guiding&#x2F;generation tool, but I won&#x27;t be using it for general day to day development any more than I currently do. For most instances it&#x27;s quicker to just learn the framework well and write the code yourself.
评论 #38090824 未加载
评论 #38092738 未加载
评论 #38094518 未加载
评论 #38096469 未加载
评论 #38099481 未加载
danielvaughnover 1 year ago
This is more interesting than the deluge of posts that say &quot;I created an iOS app in 30 minutes using ChatGPT!&quot; Which doesn&#x27;t mean much because it could&#x27;ve done nothing more than create a simple hello world.<p>This one at least shows the finished product, which is indeed pretty impressive.<p>Some details I&#x27;d need to know are (a) how long did it take, (b) how many prompts, (c) how many course-corrections were required, and (d) how competent this individual was with the technologies in question.<p>I&#x27;ve personally found ChatGPT extremely empowering in lots of scenarios, but code generation was not among them.
评论 #38090211 未加载
评论 #38090123 未加载
评论 #38091449 未加载
评论 #38095644 未加载
评论 #38094179 未加载
franzeover 1 year ago
After seeing my son rage-tapping a loading spinner I &#x2F; GPT coded this game on a lazy Sunday afternoon.<p><a href="https:&#x2F;&#x2F;spinner.franzai.com&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;spinner.franzai.com&#x2F;</a><p>Think it could be an interesting UX pattern. Having interactive loading (spinner) games that at least give is feedback that our actions (even in between things) have impact.
评论 #38090113 未加载
评论 #38090643 未加载
评论 #38096510 未加载
评论 #38094350 未加载
评论 #38097654 未加载
评论 #38091039 未加载
评论 #38091742 未加载
jeswinover 1 year ago
That AI is transformative for development is not in doubt any more. Just this past week, I&#x27;ve been able to build two medium sized services (a couple of thousand lines of code in python, a language I hadn&#x27;t used for more than a decade!). What&#x27;s truly impressive is that for the large part, it&#x27;s better than the code I&#x27;d have written anyway. Want a nice README.md? Just provide the source code that contains routes&#x2F;cli args&#x2F;whatever, and it&#x27;ll generate it for you. Want tests? Sure. Developers have never had it so easy.<p>One thing to note is that for code generation, GPT4 runs circles around GPT3.5. GPT35 is alright at copying if you provide very tight examples, but GPT4 kinda &quot;thinks&quot;.<p>Another piece of information from experience - GPT4 32k contexts fail quite often. So if you&#x27;re generating let&#x27;s say 10k tokens or more (around 30k characters), you&#x27;d have to give it a few tries. Another, ChatGPT is not the ideal interface for non-trivial work. You should use the API directly, or use something like Azure OpenAI Chat Playground which lets you use 32k contexts.<p>Shameless plug: I have this open source app which automates grunt work in prompt generation - <a href="https:&#x2F;&#x2F;github.com&#x2F;codespin-ai&#x2F;codespin-cli">https:&#x2F;&#x2F;github.com&#x2F;codespin-ai&#x2F;codespin-cli</a>
doolsover 1 year ago
I find it interesting that over the past decade so much investment has gone into making no code tools, and now ChatGPT is so good at writing code that it’s probably faster, more flexible and approaching the same level of usability for technically minded but non coding type folks.<p>I recently had to create a demo app to consume and publish a REST service using Mendix and it took a couple of days to figure out all the details, but doing the same thing in any language (bash for example) using ChatGPT would have taken minutes.<p>Deployment and version control can be solved without much technical prowess using PaaS&#x2F;IaaS, especially if you’re comparing your costs with enterprise no code platforms.<p>It may be my personal bias talking (I’ve always disliked no code platforms because they feel more cumbersome when you have to do anything serious, I dislike ActiveRecord ORMs for similar reasons) but it kind of seems like No Code will be obsolete pretty soon.<p>Who wants to drag and drop when you can just ask, copy and paste?
评论 #38093539 未加载
评论 #38092404 未加载
neilvover 1 year ago
This statistical plagiarism laundering is pretty neat.<p>IMHO, stopping the laundering gold rush is a more urgent priority for law, than creating market moats for the current big pickaxe vendors and pretending it&#x27;s about preventing HAL.
atleastoptimalover 1 year ago
There have got to be some freelancers&#x2F;remote workers who have 100x&#x27;ed their productivity using GPT-4 and AI tools correctly. I can&#x27;t imagine all these cool hacks exist in a vacuum. Imagine what we&#x27;ll have in 2 years. The genie is out of the bottle.
评论 #38097011 未加载
gwoolhurmeover 1 year ago
Every time I see these articles I get more and more worried about my employability to be frank... with no backup plan and way too much time poured into learning software engineering. It&#x27;s not looking good gang.
评论 #38093904 未加载
评论 #38094814 未加载
ThalesXover 1 year ago
This inspired me to try and get a sprite sheet with the top down animations for a paladin for a potential RPG game. See me fail here: <a href="https:&#x2F;&#x2F;imgur.com&#x2F;a&#x2F;2uJyUT3" rel="nofollow noreferrer">https:&#x2F;&#x2F;imgur.com&#x2F;a&#x2F;2uJyUT3</a><p>Actual order was top down variants first, and then the last one was the side view as I was curious what it&#x27;d show.
评论 #38093240 未加载
rideontimeover 1 year ago
Are there any plagiarism detection tools for software? Because I&#x27;m very curious how closely this code matches one of the many JS Angry Bird clone tutorials out there.
评论 #38095588 未加载
评论 #38095055 未加载
junonover 1 year ago
&gt; any resemblance is purely coincidental<p>Err.. no it&#x27;s not. It&#x27;s trained on this stuff. It definitely knows how those games work after being trained on countless articles describing those games in detail.<p>Cool project nonetheless though!
评论 #38100921 未加载
matsemannover 1 year ago
I honestly don&#x27;t think the coding is that impressive. What sells it is the assets. It used to be that all quick demos &#x2F; gamejam like games like these (which it honestly is) looked like crap. Now it suddenly can look a bit polished. Not just boxes and lines, but actually somewhat nice graphics (which is probably too close to what it mimics and would end with a angry letter from a bird attorney if was used in an actual game, though).
评论 #38094806 未加载
jhoelzelover 1 year ago
Isn&#x27;t this largely because there are dozens of angrybird clones on github where the ai could learn from?<p>Do GTA next :D
评论 #38096140 未加载
low_tech_punkover 1 year ago
The super power of GPT is allowing a generalist to become specialists in diverse disciplines just-in-time.
评论 #38094265 未加载
评论 #38095992 未加载
bluescrnover 1 year ago
I&#x27;d be more interested in seeing AI create a game that doesn&#x27;t already exist.<p>AI auto-plagiarism is a neat party trick, but can it create something new?
评论 #38096487 未加载
评论 #38096462 未加载
burkamanover 1 year ago
Here&#x27;s the code: <a href="https:&#x2F;&#x2F;bestaiprompts.art&#x2F;angry-pumpkins&#x2F;sketch.js" rel="nofollow noreferrer">https:&#x2F;&#x2F;bestaiprompts.art&#x2F;angry-pumpkins&#x2F;sketch.js</a>
efitzover 1 year ago
This was amazing work. I consistently underestimate what generative AI can do.<p>Also: I think you just scared the daylights out of a lot of mobile game developers and inspired many more.
评论 #38091012 未加载
mhitzaover 1 year ago
How do I read the Twitter thread if I don&#x27;t have an account?
评论 #38090185 未加载
评论 #38095227 未加载
评论 #38090231 未加载
klik99over 1 year ago
On one hand - there are a lot of angry birds clones and tutorials showing you how to code an angry birds game, the choice of game here probably greatly helped the outcome.<p>On the other hand - the way he iteratively programmed it (<a href="https:&#x2F;&#x2F;twitter.com&#x2F;javilopen&#x2F;status&#x2F;1719363669685916095" rel="nofollow noreferrer">https:&#x2F;&#x2F;twitter.com&#x2F;javilopen&#x2F;status&#x2F;1719363669685916095</a>) I can see becoming more and more useful over time.<p>It&#x27;s obviously not the most difficult example to use, but it does indicate a very interesting future.
mattkevanover 1 year ago
I&#x27;ve literally just finished writing a Wordpress plugin with ChatGPT.<p>It took me a few hours to build functionality that would normally need a paid plugin, and most of that time was spent working out the features. Woocommerce are charging a $50 subscription for basically the same thing.<p>It&#x27;s fantastic to be able to have an idea for something and prototype and iterate it rapidly, without having to struggle with the implementation details.
评论 #38099592 未加载
low_tech_loveover 1 year ago
Great! Think about all the millions of AI-generated games we can now make to complement the millions of other human-made games that are released everyday, of which we only manage to play like 0.1%!<p>I can see this being used to maybe accelerate (even more) content generation for generic addictive MMOs and gacha games, but hopefully not much more.<p>As if we are not already overflowing with useless, meaningless, heartless, superficial content everywhere…
评论 #38095924 未加载
评论 #38096259 未加载
评论 #38095854 未加载
jpallenover 1 year ago
This is very cool! It&#x27;s not as impressive, but here is a video of me writing Game of Life only by speaking out loud to VS Code: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=6NSplhZ0DlY">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=6NSplhZ0DlY</a><p>I did that by building an open source VS Code extension to interact with GPT3.5&#x2F;4 directly from your editor: <a href="https:&#x2F;&#x2F;marketplace.visualstudio.com&#x2F;items?itemName=Biggles.biggles" rel="nofollow noreferrer">https:&#x2F;&#x2F;marketplace.visualstudio.com&#x2F;items?itemName=Biggles....</a>. It cuts out copy&#x2F;pasting between ChatGPT and your editor, or writing any boiler plate code since you can just ask it to insert the code you want, or change the code you have highlighted. You can also talk to it directly using the Whisper API!
ge96over 1 year ago
Even if I&#x27;m reinventing the wheel I like to create. Idk guess I&#x27;m a luddite. I wouldn&#x27;t feel proud&#x2F;happy that I got a game created from a code generator. But it&#x27;s good it empowers other people to make stuff without that wall of learning.
nutancover 1 year ago
Do you think this worked so cleanly because there is a tutorial similar to this and its in the dataset?<p><a href="https:&#x2F;&#x2F;github.com&#x2F;liabru&#x2F;matter-js&#x2F;wiki&#x2F;Tutorials">https:&#x2F;&#x2F;github.com&#x2F;liabru&#x2F;matter-js&#x2F;wiki&#x2F;Tutorials</a>
sagarpatilover 1 year ago
This is brilliant. I also created a ChatGPT plugin using only GPT-4. Aardvark AI (Search for Products on Google Shopping in Real-Time, No Ads, Only Trusted Stores) It current gets around 6000-8000 search queries each month.<p>BTS: It uses Google Shopping API to get real time results.
评论 #38094439 未加载
评论 #38094831 未加载
NKosmatosover 1 year ago
We’re living in interesting times, especially from AI, ML and coding point of view. The possibilities seem endless and the reach of such tools is going to lead to an “explosion” of creativity.
评论 #38090269 未加载
评论 #38090750 未加载
two_in_oneover 1 year ago
Cool! The coolest here is not the game, it&#x27;s the fact that AI is being used for software development. Actually ChatGPT is used for more serious and practical applications. But I started with games too. Having fun makes it easier to start. You can think of AI (today) as very knowledgeable and not very smart assistant. Complex project requires a lot of prompts. Human&#x27;s task is to put it all together, test, ask for new parts and corrections. And this is just a beginning...
monkpitover 1 year ago
I realize this comment isn’t directly related to the article, but it got me thinking… I wonder what effect AI will have on the next generation of gaming consoles.<p>Will they get beefier GPU capabilities to leverage local models?<p>Will they use cloud capacity to host models and games require always-online capability to play as intended?<p>Some mixture of both?<p>Also, I hope that AI won’t turn into the next way to just ruin everything that was already good. A bunch of rehashed unoriginal ideas, like “it’s Pac-Man, but with AI!” Please, no.
评论 #38091077 未加载
LastTrainover 1 year ago
This is interesting, but, the &quot;nothing but AI&quot; part is clearly not true and so I&#x27;m not exactly sure what was done here.
评论 #38090503 未加载
评论 #38090498 未加载
penjellyover 1 year ago
yep, advent of chatgpt will enable software proliferation before anything else, developers have become far more powerful now, they can create in more languages and understand complex concepts faster. This will only continue until AI is good enough to work in an agent-like manner with reliable output, afterwhich, who knows what will happen.
amadeuspagelover 1 year ago
You can copy Angry Birds with nothing but Google[1].<p>[1]: <a href="https:&#x2F;&#x2F;www.google.com&#x2F;search?q=angry+birds+clone" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.google.com&#x2F;search?q=angry+birds+clone</a>
la64710over 1 year ago
The real challenge is generating a large code base (think more than a JavaScript loaded page) - the front end backend and everything in between and then automating the testing and deployment …
m3kw9over 1 year ago
Prob needed to a ton of glue code to have it at quality
评论 #38090215 未加载
fareeshover 1 year ago
Aside from the images I suspect the code is inspired by something in the training data since it&#x27;s quite a common project
评论 #38094031 未加载
demondemidiover 1 year ago
Does it generate the same result for everyone who enters the prompts? (Not an AI guy here)
评论 #38091995 未加载
dgs_sgdover 1 year ago
This is exciting, like we’re about to enter a new golden age for indie apps and games.
nobodyiamover 1 year ago
Pretty impressive! Using AI as a copilot is definitely the right way forward.
tayo42over 1 year ago
idk why it wasnt obvious to me before, i never bothered trying to make games because i wasnt good at digital art and didn&#x27;t really have the interest to try to be. i should now... lol
评论 #38102028 未加载
tw061023over 1 year ago
I call bullshit. No prompts, no nothing, just the finished product and a few claims.<p>Almost 200 comments and Ctrl-F &quot;repro&quot; is zero.<p>Also let me be straight: I am full-on believer in AI. But not in Midjourney, DALL•E 3 and GPT-4 (or other LLMs) - these are not real AI, just VP hype cycle artifacts.
评论 #38096028 未加载
评论 #38095668 未加载
kevinsyncover 1 year ago
Despite the expected contrarianism in the comments, and I promise I&#x27;m being positive here, I&#x27;m pretty sure GPT-4 did really well on this task because a quick Google search shows a bunch of existing projects spanning blogs, GitHub and YouTube that it almost certainly trained on:<p><a href="https:&#x2F;&#x2F;www.google.com&#x2F;search?q=matter.js+angry+birds+clone" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.google.com&#x2F;search?q=matter.js+angry+birds+clone</a><p>This is not a Bad Thing (tm) -- it&#x27;s actually really sick because you can quickly get out of the weeds and get productive, especially if your skillset is not as deep as you&#x27;d have needed to accomplish even half of this a decade ago.<p>Nobody ever said paint by numbers was capital-P &quot;Painting&quot;, but sometimes it&#x27;s a blast to do one. I remember being 12 and making custom WADs for Doom &#x2F; Hexen; my 6th grade son builds endlessly-creative and complicated modded Minecraft worlds with detailed machinery and electrical circuits and all this crazy seemingly-adherent-to-real-world-physics shit. Angry Pumpkins is arguably an order of magnitude better than simply re-skinning a Cyberdemon, because lowering the &quot;time-to-screen&quot; with any project (and in this case, providing a blueprint) is fun, creative, and most importantly ENCOURAGING for the next generation.<p>Anyways, I like it!
评论 #38091323 未加载
评论 #38092105 未加载
评论 #38092863 未加载
评论 #38091706 未加载
评论 #38091398 未加载
评论 #38091477 未加载
评论 #38091224 未加载
评论 #38093002 未加载
simonwover 1 year ago
Twitter is a bad place to share original content these days, because anyone without a Twitter account not only won&#x27;t be able to see anything more than the first tweet but (crucially) won&#x27;t even see a visual indicator that there IS more content to see.<p>Here&#x27;s a screenshot to illustrate: <a href="https:&#x2F;&#x2F;gist.github.com&#x2F;simonw&#x2F;f7ed52daaa66f849858d17e0d6c1c3df?permalink_comment_id=4745199#gistcomment-4745199" rel="nofollow noreferrer">https:&#x2F;&#x2F;gist.github.com&#x2F;simonw&#x2F;f7ed52daaa66f849858d17e0d6c1c...</a><p>For people without a Twitter account, I&#x27;ve pasted the content of the thread into a Gist here: <a href="https:&#x2F;&#x2F;gist.github.com&#x2F;simonw&#x2F;f7ed52daaa66f849858d17e0d6c1c3df" rel="nofollow noreferrer">https:&#x2F;&#x2F;gist.github.com&#x2F;simonw&#x2F;f7ed52daaa66f849858d17e0d6c1c...</a><p>The most important missing link is the live demo, <a href="https:&#x2F;&#x2F;bestaiprompts.art&#x2F;angry-pumpkins&#x2F;index.html" rel="nofollow noreferrer">https:&#x2F;&#x2F;bestaiprompts.art&#x2F;angry-pumpkins&#x2F;index.html</a>
评论 #38091837 未加载
评论 #38092679 未加载
评论 #38092475 未加载
评论 #38093052 未加载
评论 #38093008 未加载
product-renderover 1 year ago
Always instructional how eager a lot of people are to not pay artists.<p>I&#x27;m guessing the mood will be less celebratory when we can stop paying most programmers.
评论 #38092663 未加载
评论 #38092969 未加载
评论 #38092831 未加载
评论 #38092538 未加载
bigfishrunningover 1 year ago
So AI made a cheap copy of something people made...Can it do anything else?
评论 #38090087 未加载
评论 #38090280 未加载
评论 #38095664 未加载
xwdvover 1 year ago
Everyone will think this impressive, but they’re not game developers.<p>You could literally make all this in probably 24 hours and not spend any time mucking around with prompts.<p>Like what are we even seeing here? Basically a tech demo of a physics engine, a little UI interaction for throwing a collidable entity into other entities, and some code for setting up a level?<p>Show me the maintenance, adding new features, bug fixing, cross platform compatibility, shaders, networking code, sound, etc.
评论 #38091205 未加载
评论 #38090537 未加载
评论 #38090640 未加载
评论 #38090357 未加载
评论 #38090320 未加载
评论 #38090567 未加载
评论 #38090809 未加载
评论 #38090284 未加载
评论 #38090989 未加载