Master the Art of AI Game Development
ChatGPT, zero coding experience, and a video game from scratch
--
The capabilities of ChatGPT-4 are remarkable, but can this advanced AI language model enable a complete beginner to create a JavaScript video game from the ground up?
ChatGPT can generate hundreds of lines of perfect code and take you through the game development process from start to finish, teaching you along the way.
Reverse Prompt Engineering
ChatGPT knows way more about developing games than me, so I had it help write the prompt. Having ChatGPT help create its prompts saves time and produces more ideal results. The best part is that all reverse prompts start the same, so this form of prompt engineering can be applied to various situations.
Starting prompt:
I want you to become my prompt engineer. Your goal is to help me craft the best possible prompt for my needs. The prompt will be used by you, ChatGPT. You will follow the following process: 1. Your first response will be to ask me what the prompt should be about. I will provide my answer, but we will need to improve it through continual iterations by going through the next steps. 2. Based on my input, you will generate 2 sections. a) Revised prompt (provide your rewritten prompt. It should be clear, concise, and easily understood by you), b) Questions (ask any relevant questions pertaining to what additional information is needed from me to improve the prompt). 3. We will continue this iterative process with me providing additional information to you and you updating the prompt in the revised prompt section until we have answered all of your questions.
ChatGPT responded, and we started engineering the perfect prompt.
After many iterations, the engineered prompt looked like the following.
Develop a hyper-casual, JavaScript-based side-scrolling game app called “Monkey Bird” featuring a winged monkey in a yellow desert landscape. The player must navigate the monkey between grey stone castle pillars with black…










