This website uses cookies.Before continuing to use our website, you agree and accept Privacy policy.Accept

What to Do If AI Cannot Generate a Game?

Why Can't the Game Be Generated?

This site introduces the prompts used to actually generate games.

However, generally, generative AIs like ChatGPT and Claude produce slightly different programs each time. Therefore, it often happens that the same prompts do not produce identical results. This is likely influenced by the fact that generative AI is constantly learning and evolving.

However, if an error occurs, you can request modifications to the prompts to improve the operation.

How to Handle It

Got an Error Message


Sometimes an error occurs during execution.


In such cases, copy and paste the error message into the prompt and ask for a correction. The AI will propose an improved program.

Also, sometimes the path to the program being used is incorrect, so if you understand the source, check it. For example, if you ask ChatGPT to create a program using Box2D, it might provide: <script src='https://cdnjs.cloudflare.com/ajax/libs/box2dweb/2.1.a.3/Box2dWeb-2.1.a.3.min.js'> Clicking this path will show 'Not found', indicating it is incorrect.

Nothing Is Displayed?

There are times when you generate and execute a game, but the screen remains completely white or black. In such cases, tell the AI something like 'Nothing is displayed on the screen!' in the prompt, and the AI will suggest an improved program.

Is It Working Incorrectly?

Even if you use the prompts from this site, the program may behave differently. In such cases, ask the AI to correct each issue step by step:
  • 'Set the background black'
  • 'Set the display size to 640x480'
  • 'Make it run faster'
  • 'Make the enemies faster'
  • 'Add more enemies'
  • 'Display a reset button when finished'


Usage Restrictions?

Restrictions may vary depending on the AI you use, so check in such cases. For example, some versions of AI may not be able to identify the contents of uploaded images. Also, some AIs may be restricted from creating programs that use external libraries.

<< menu