How to create your own game using artificial intelligence

Tips and advice for aspiring game developers

Welcome to the page that will help you create your own AI game, even if you have no programming experience! I learned a lot of useful things while developing my Arkanoid game, which I now want to pass on to you. I hope these tips will ease your way and inspire you to create your own unique game.

Start with a simple concept: you don’t need to have a complex idea. Choose basic mechanics that you know well or that you enjoy. A simple base is easier to work with, and AI can help you refine it.

Use AI tools to generate code: there are various AI tools that can help you generate basic code without having to know how to code. Learn to use these tools effectively – give them precise instructions and look for ways to adapt them to your needs.

Experiment with graphics: Even if you only have a basic understanding of graphic editors, there are AI tools that can help you generate visuals or make editing graphics easier. Don’t be afraid to try different styles and designs until you find what you like.

Testing is key: Once you have a basic version of the game, start testing! The game needs to be fun, but also functional.

Don’t get discouraged: The development process is full of challenges and occasional hiccups. It’s normal for something to not work the first time. The AI can help you, but remember that you are the one who gives the game its soul. With every step you take, you learn and improve.

I hope the following advice helps you on your own creative journey! Creating games with the help of AI is a fascinating adventure, and I believe that you too can create something amazing. Good luck!

Python: one of the most widely used programming languages in the world. It is simple to learn and offers a wide range of applications. Download Python

Artificial Intelligence Claude Sonnet: This AI helps you define the basic principles and mechanics of the game. It generates code based on your instructions while displaying the result in a second window. I used the paid PRO version ($20), but a free version is also available. Visit Claude AI

ChatGPT Artificial Intelligence: I used this AI to improve the base code generated by the Claude AI. I used the paid PRO version (25 USD). Visit ChatGPT

DALLE-E AI: This AI is used to create graphics. DALLE-E is part of the ChatGPT subscription, but also offers a free version. Visit DALLE-E

Notepad++: An editor for inserting and saving the code you create. Download Notepad++

Graphics editing program: for example, Canva and other free alternatives. Visit Canva

Music and Sounds: Free libraries for use. Visit Pixabay

Audacity: free editor for editing audio and music. Download Audacity

Creating a game step by step

1. Installing Python
First, download and install Python from the official website.

2. Install Notepad++
Download and install the Notepad++ text editor to edit and manage your code.

3. Using Claude Artificial Intelligence
Open your browser and navigate to Claude AI. I recommend using the paid version of Claude Sonnet PRO as it provides more features for game development.

Use the text assignments (prompts) to create the basic functional skeleton of the game in Claude. It’s important to specify all the requirements and mechanics of the game in detail to make the foundation as well developed as possible. I developed the game in HTML, so be sure to instruct the AI to generate the code in HTML.

Note: Claude has a limited capacity for code generation. If you can’t fit all of the code, use the command to generate only the first half, then ask for the second half of the code.

4. Edit code in Notepad++
After generating the code, copy and paste it into Notepad++. Save the code as an .html file.

Notepad++01
Notepad++

5. Working with HTML code
You will work with an HTML file that will contain the logic of your game.

6. Creating a directory for the game
Create a folder on your desktop where you will keep all your game files. For example, you could name it „Arkanoid“.

7. Run the game locally
To make the game work on your computer, you need to do the following steps:

– Open a command prompt (cmd) using the Windows search.

– In a command window, type: cd Desktop\Arkanoid
– In the command window, type: python -m http.server 8000 to activate the local server for Python.

cmd1
cmd2

Do not close the command prompt window (but you can minimize it).

8.Starting the game
Now you can open the saved .html file (in the Arkanoid directory). The game should launch in a browser (e.g. Chrome).

A sequel is in the works (advanced development in Chat GPT, graphics, sounds, etc.) …