Beyond AI
How to program with AI without any programming knowledge?

This entry is a transcription of a video we published on our Beyond AI channel. Visit it for more content like this!
Watch this material on YouTube:
Today will be very simple. We are just taking Claude, which has the Sonnet 3.5 model, and entering a prompt:

Let's see what it makes for us. Well, it created a game but didn't run it, so we will ask it to run it in an artifact.

Okay, it created a game where we move a square around. I don't know exactly what the point is yet, but something is happening here, something is moving. If the red one falls on me, do I lose? No, nothing like that is happening.

Okay, it is a game where we move a square and red things fall from the sky. Of course, if we wanted to, we could still improve it. Let's try to do that.

Let's see what happens this time: Game over, we lost. Great!

As we can see, to make a simple game in Claude, literally a minute is enough and we have it all ready. Especially since it came up with it itself; we didn't tell it what it should look like, etc.
Interestingly, every time before this, it has come up with a number guessing game. So let's make one of those too.

We have a finished number guessing game. We can enter a number here and guess from 1 to 100. I guessed it in seven tries. Claude immediately added additional functions that tell us how many attempts it took to guess the number.
The game 2048 was very popular once, so we can ask it: "Create a 2048 game." And we will ask for the game to be in purple and blue colors, because that fits our channel. Let's see how long it takes.

Okay, we already have a finished game. There are purple and blue hues. However, as for its operation, it's just average. Something is happening, it's controlled by arrows, but I think it's not exactly as it should be yet. I'll ask it to fix it, meaning I say:

Let's see what it does now.
Okay, we have another version of the game and we can check if it works this time. Indeed, the tiles move just like in the original version of the game and we can control them.

Great, there you go! So you see how mega simple it is. You don't need any knowledge of programming, you just write "Create a game, run the game."
We see this is called an artifact in the code and we can ask it to run this thing in an artifact. We can also ask for a version so that you can download the file and run it as HTML, simply in a browser, or possibly send it to someone else.
I decided to share this project with you – click – and modify it a little bit more. You can test it, click it, see how it works, and also remix this artifact, meaning click here and continue using it, making further iterations of it.

Thanks a lot for being here, see you at Beyond AI!

No, thanks to tools like Claude with the Sonnet 3.5 model, a simple prompt is enough to create and run a simple game. The whole process can take just a few minutes.
You can ask Claude to run the game in an artifact, and also to prepare a version that can be downloaded and run in a browser as an HTML file.
Yes, you can make corrections and modifications to the game, for example by changing the game rules or the appearance of the interface.
Yes, after creating a game, you can share it with others, allowing them to run it in a browser or further modify and develop the project.
If you are interested in how to create games and programs using artificial intelligence, be sure to visit our Beyond AI YouTube channel! You will find many inspiring videos and practical tips there that will help you fully exploit the potential of AI in your daily projects. Your guide to the dynamic world of AI is waiting for you!

Learn how artificial intelligence can help you unlock YouTube’s full potential and make video publishing easier and more efficient.

Discover how AI can help you pick the perfect present — from personalised recommendations to analysing YouTube reviews and saving time with intelligent suggestions.