2
2 Comments

AI Collaborative Creation: Crafting a Game with ChatGPT and Overcoming Challenges

Hello, guys!

I've created a game here, in collaboration with ChatGPT. AI wrote most of the code, and I just provided instructions and reported bugs, which it then fixed.
Sometimes AI would hallucinate and produce nonsensical code, but a properly set prompt would correct the situation.

At times, it would forget what the last correct code was and start glitching again, so I had to resend the correct code.

At this stage, ChatGPT can replace a junior developer, but not more than that.
The GPT-4 model works better and produces clean code, but access is limited - you can only send up to 25 messages within 3 hours.

So, I completed the rest of the code using GPT 3.5 Turbo and subscribed to it.
I'm very pleased with the final code.

Keyboard Puzzle game!

The goal of this game is to restore the original order of the shuffled keyboard keys by swapping them with their correct positions within the time limit.

Here are the game rules:

  1. Select a key from the shuffled keys below the main keyboard.
  2. Click on a masked key in the main keyboard to swap them.
  3. Continue swapping keys until the main keyboard is in its correct order.
  4. You have 180 seconds to complete the puzzle.
  5. Your score is based on the number of correctly placed keys.

Good luck and have fun!

https://keyboard-puzzle.vercel.app/

Github code https://github.com/pyoner/keyboard-puzzle
Follow me on Twitter https://twitter.com/pyoner

  1. 2

    Very interesting game with ChatGPT!

    Not seeing many uses here, so this is def interesting

    1. 1

      I think the future lies in cooperation with AI
      Thanks!

Trending on Indie Hackers
How I Launched My AI Startup with a Warm Email List and Zero Marketing Budget? 31 comments Here's how we got our first 200 users 29 comments What you can learn from Marc Lou 20 comments Reaching $100k MRR Organically in 12 months 14 comments Software Developers Can Build Beautiful Software 13 comments Worst Hire - my lessons 11 comments