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
I've built a 2300$ a month SaaS out of a simple problem. 17 comments Guide: How to get your first 10 customers 15 comments I just landed my first paying customer! 11 comments 🔥 Roast My Landing Page 8 comments From idea to launch in 3 days. EarlyBee: Landing pages to get Pre-orders, Emails or Votes 6 comments Key takeaways growing MRR from $6.5k to $20k for my design studio 5 comments