![Can an LLM Make a Video Game? Can an LLM Make a Video Game?](https://cdn.magzter.com/1431108787/1729525292/articles/JIcB51mnO1729596847960/CAN-AN-LLM-MAKE-A-VIDEO-GAME.jpg)
In recent years, it’s become much easier to bring your idea to life using tools like Godot or one of the GameMaker engines, even with very little coding experience. That’s all well and good, but in the interests of curiosity and laziness, I want to know if I can prompt a Large Language Model to do it all for me.
My focus is to see just what I can coax out of an LLM to replicate a vintage Asteroids experience. I’m fairly confident I can get assistance with boilerplate blocks of code for most of it. From there, cobbling together the final game won’t be a problem, but with only prompting input on my part, how close can I get? Can I generate entire game elements? Asteroids is a simple game. Can an LLM rebuild it all, tabula rasa?
For this experiment, I’ll try to stick to just prompting and using whatever the LLM provides. Along the way, I’ll take a look at the code. Invariably, inefficiencies are going to jump out at you. You’ll see errors start to pop up as you move forward. You may see the LLM inexplicably change code that was working just fine. But you can’t change it! That’s against the rules. You have to get LLM to do it using plain language requests.
The Plan
Bu hikaye CODE Magazine dergisinin November - December 2024 sayısından alınmıştır.
Start your 7-day Magzter GOLD free trial to access thousands of curated premium stories, and 9,000+ magazines and newspapers.
Already a subscriber ? Giriş Yap
Bu hikaye CODE Magazine dergisinin November - December 2024 sayısından alınmıştır.
Start your 7-day Magzter GOLD free trial to access thousands of curated premium stories, and 9,000+ magazines and newspapers.
Already a subscriber? Giriş Yap
![Threads, Asynchrony, Parallelism, and Concurrency in C# Threads, Asynchrony, Parallelism, and Concurrency in C#](https://reseuro.magzter.com/100x125/articles/9826/1871078/jQIc0KeI_1729597316756/THREADS-ASYNCHRONY-PARALLELISM-AND-CONCURRENCY-IN-C.jpg)
Threads, Asynchrony, Parallelism, and Concurrency in C#
The concepts of process, thread, and task are fundamental to understanding the working of an operating system. You should have a good understanding of threads and how they work to learn asynchrony, parallelism, and concurrency. This article discusses the concepts related to these concepts in detail with relevant code examples wherever appropriate.
![Career Development and Staffing Reinvented Career Development and Staffing Reinvented](https://reseuro.magzter.com/100x125/articles/9826/1871078/oOPHgdJj31729596996020/CAREER-DEVELOPMENT-AND-STAFFING-REINVENTED.jpg)
Career Development and Staffing Reinvented
You think great talent and cool positions only exist in Silicon Valley? Think again!
![Can an LLM Make a Video Game? Can an LLM Make a Video Game?](https://reseuro.magzter.com/100x125/articles/9826/1871078/JIcB51mnO1729596847960/CAN-AN-LLM-MAKE-A-VIDEO-GAME.jpg)
Can an LLM Make a Video Game?
In the Summer of 1980, I played Asteroids at a gas station in rural West Texas. I stood on a stool to reach the controls and see the screen. Ever since then, I’ve wanted to make a video game. I’ve also wanted to have the time, skills, and resources to make a video game.
![First Rule of ARIA: Don't Use ARIA First Rule of ARIA: Don't Use ARIA](https://reseuro.magzter.com/100x125/articles/9826/1871078/RHXS1qlLR1729595836379/FIRST-RULE-OF-ARIA-DONT-USE-ARIA.jpg)
First Rule of ARIA: Don't Use ARIA
As you expand your accessibility knowledge, you've probably heard the term ARIA a few times, maybe with an explanation, maybe not. Let's start there: ARIA (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA) is a standard from the World Wide Web Consortium (W3C) (https://www.w3.org/) via the Web AccessibilityInitiative (WAI) (https://www.w3.org/WAI/).
![Exploring .NET MAUI: Data Entry Controls and Data Binding Exploring .NET MAUI: Data Entry Controls and Data Binding](https://reseuro.magzter.com/100x125/articles/9826/1871078/VNWV8haYj1729595488011/EXPLORING-NET-MAUI-DATA-ENTRY-CONTROLS-AND-DATA-BINDING.jpg)
Exploring .NET MAUI: Data Entry Controls and Data Binding
In the first parts of this ongoing series on exploring .NET MAUI (https://codemag.com/Article/2408041/Exploring-.NET-MAUIGetting-Started and https://codemag.com/Article/2409041/Exploring-.NET-MAUI-Styles-Navigation-and-Reusable-UI), you created your first .NET MAUI application and ran that application on both a Windows computer and an Android emulator.
![CODE Magazine Presents: The State of AI Mini Conference Tour CODE Magazine Presents: The State of AI Mini Conference Tour](https://reseuro.magzter.com/100x125/articles/9826/1871078/XPSFsojSS1729595333704/CODE-MAGAZINE-PRESENTS-THE-STATE-OF-AI-MINI-CONFERENCE-TOUR.jpg)
CODE Magazine Presents: The State of AI Mini Conference Tour
CODE has recently started a new series of inperson events focusing on the topic of artificial intelligence and its practical uses in business scenarios.
![AI with No Internet Connection AI with No Internet Connection](https://reseuro.magzter.com/100x125/articles/9826/1871078/2ftm3erG01729594934473/AI-WITH-NO-INTERNET-CONNECTION.jpg)
AI with No Internet Connection
AI, or artificial intelligence; are you bored of hearing about of it yet? Between the stock market and CEO keynotes, we can’t seem to get away from it. It promises to revolutionize everything around us.
![CODE: 5 Years Ago CODE: 5 Years Ago](https://reseuro.magzter.com/100x125/articles/9826/1871078/K8gAI3kxB1729594575570/CODE-5-YEARS-AGO.jpg)
CODE: 5 Years Ago
And just like that, we've arrived at the last installment of our \"30 Years of CODE\" celebratory column. Wow. Time flies! Seems like \"just the other day\" we had our 30-year anniversary celebration in Orlando, yet that was in December of 2023. But it's even wilder to think back five or six years. \"Just before the pandemic,\" really. How much has changed in those few short years!
![Career Development and Staffing reinvented Career Development and Staffing reinvented](https://reseuro.magzter.com/100x125/articles/9826/1819199/zbU6RJMLa1725348965366/CAREER-DEVELOPMENT-AND-STAFFING-REINVENTED.jpg)
Career Development and Staffing reinvented
You think great talent and cool positions only exist in Silicon Valley? Think again!
![Container Orchestration Using Kubernetes Container Orchestration Using Kubernetes](https://reseuro.magzter.com/100x125/articles/9826/1819199/MySa9lgaS1725348732179/CONTAINER-ORCHESTRATION-USING-KUBERNETES.jpg)
Container Orchestration Using Kubernetes
In my previous article on Docker (\"Introduction to Containerization Using Docker,\" Mar/Apr 2021 issue), I explained what containerization is and how Docker simplifies application deployment.