
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
Dit verhaal komt uit de November - December 2024 editie van CODE Magazine.
Start your 7-day Magzter GOLD free trial to access thousands of curated premium stories, and 9,000+ magazines and newspapers.
Al abonnee ? Inloggen
Dit verhaal komt uit de November - December 2024 editie van CODE Magazine.
Start your 7-day Magzter GOLD free trial to access thousands of curated premium stories, and 9,000+ magazines and newspapers.
Al abonnee? Inloggen

Boost Your iOS App Development with ChatGPT Al-Assistance
The genie's out of the bottle and there's no turning back! If you haven't tried Al-assisted programming yet, now is a great time to dive in. Tools such as ChatGPT have come a long way from their inception. You'll be amazed at how much more productive you'll be and wonder how you ever managed without them. The genie's out of the bottle and there's no turning back!

Building Modern Web Applications Using Blazor ASP.NET Core
Blazor is a modern web framework from Microsoft that was included in .NET 5. It's used for building interactive web applications using C# and .NET and it's based on a flexible, modular component model that's well-suited for building applications with rich, interactive web user interfaces. It should be noted that you can still use JavaScript if you'd like to, i.e., you can invoke your

CODE Magazine Presents: The State of AI Mini Conference Tour
CODE has recently started a new series of in-person events focusing on the topic of artificial intelligence and its practical uses in business scenarios.

Career Development and Staffing reinvented
You think great talent and cool positions only exist in Silicon Valley? Think again!

Offline AI Image Generation
On January 5, 2021, OpenAl revealed DALL-E. Frankly, it blew everyone's minds. DALL-E was a modified version of GPT-3. GPT, as you might know, is a large language model (LLM), and it generates text.

Exploring LangChain: A Practical Approach to Language Models and Retrieval-Augmented Generation (RAG)
LangChain is a powerful framework for building applications that incorporate large language models (LLMs).

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
You think great talent and cool positions only exist in Silicon Valley? Think again!

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
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/).