I built a game using ChatGPT in 2 weeks that made $10,000
Tags: gamedev, chatgpt, indiede, developer
Published: 2024-04-22 04:20:06


I used ChatGPT to make the famous Watermelon Game, in less than 2 weeks, which earned ~$10,000 over web platforms and through organic mobile players!


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ec60ax6a949d84jo8mft.png)



ChatGPT
I use ChatGPT a lot to write gameplay mechanic code for my games. It is the best tool to delegate complex mathematical problems that are sometimes needed while coding games.

For the Watermelon Game, I used ChatGPT to:

👨🏻‍💻Write gameplay code

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nmmjetrkk0kuaoieo5ay.png)


🌟 Controlling the dropper,
🌟 Dropping of fruits,
🌟 Merging the fruits to evolve into bigger fruits,
🌟 Win/Lose condition!

🎨 Generate the 2D fruit assets of the game

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xi0d5oeq8ekdooumwnix.png)


🌟 I asked ChatGPT (DALL-E) to generate some 2D images for the fruits in Kawaii style!

Then I imported these into an online PhotoShop tool (Photopea.com), to clean out the background and use them in Unity!

It took me 1 week to get the gameplay right and another week to polish the game!

Then all I had to do was reach out to various web-platforms to publish the game 🙏

Earnings (Web-Platforms)
Once the game was ready, I reached out to various web-game platforms. These platforms have a loyal player base that keep coming back to search for fresh and new games.

The most common way to monetize on these platforms is to show Normal ads and Rewarded ads.

I earned from the following sources:

✅ GameDistribution (ad-revenue) ($1,500)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qwmm91zl4k7fudsoac5z.png)


✅ Coolmath Games (license fee) ($2,500)

✅ Rainmaker Games (special one-time request for their web3 startup) (license fee) ($3,000)

✅ Publisher competition (SuperSonic) (one-time fee) ($300)

✅ Mobile organic installs (My previous app got banned!) (ad-revenue) ($2300)

Distributing games to web-portals is one of the easiest ways to generate revenue from your games!

Watch the video
To explain better the revenue from each source, I have created a YouTube video (~8.5 minutes):

https://youtu.be/jiSFsdyRgzA

In the video, I cover:
🌟 Generated 2D assets using ChatGPT.
🌟 Writing gameplay code using ChatGPT.
🌟 Different web game platforms where I distributed the game.
🌟 Earnings from the web game portals.
🌟 A list of a few web game portals where you can upload the games.

If you found the video useful, do subscribe as this is my first YouTube video 🙏

I plan to do more of these in the future, if you have any questions related to making games — leave your questions in the comments!

Until next time,
Anul

— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —

I invest a lot of time to research and edit my articles. To show support, [you can follow me or subscribe to my newsletter!](https://gameplaydev.substack.com/)

[You can connect with me on LinkedIn](https://www.linkedin.com/in/anulagarwal/) where I talk about gen-AI tools and game industry trends.