DEV Community

Cover image for Beat the Hand: How I Re-imagined Rock-Paper-Scissors with Just Chat Prompts - and How You Can Too ✋📄✂️
Subha Mondal
Subha Mondal

Posted on

Beat the Hand: How I Re-imagined Rock-Paper-Scissors with Just Chat Prompts - and How You Can Too ✋📄✂️

💭 Remember the playground?

🍱 The lunch‑break duels decided with a quick ✊✋✌️ Rock, Paper, Scissors!🎮 No controllers, only reflexes ⚡ and bragging rights 🏆.

🧒 A game we all played as kids. Quick, 🎉 fun, and 🎯 decisive.

🚀 But what if I told you that in 2025, I rebuilt that whole experience - 🎮 as a desktop game - just by having a chat with Amazon Q CLI 💬🤖?

❌ No IDE boot-up.
❌ No staring at blank .py files.

Just natural language prompts, and boom - a full game appears, like magic. 🪄


🤔 Curious?

☕ Grab a coffee (or a 🧃 juice box for full nostalgia 😍) and follow along.

🛠️ By the end of this post, you’ll have the confidence - and the exact steps - to spin up your own twist on the classic ✋🤚✊ hand game!


In this post, I’ll walk you through:

  • What I built and how I did it 🧩
  • The exact prompts I used 🗣️
  • How you can tweak it to make it yours 🎨

Wait, wait...🫷 Before we dive into what I built - let’s rewind a bit.

As I mentioned earlier, I created this game by simply chatting with Amazon Q CLI.

👉 But to even begin chatting, you need to set up Amazon Q CLI on your system first.

I’m using Windows, and I’ve documented the complete setup process in another blog post. It covers everything from installation to authentication, with screenshots and commands you can follow step-by-step.

🔗 Check out my setup guide for Amazon Q CLI here!

(Don’t worry, it opens in a new tab. Come back here when you're done!)


🎁 Bonus: I made this game available as a standalone software version too!

⬇️ Just download and install the game from the link below:

🔗 Download (Windows Installer)

➤ NOTE : password for the game RAR file is

5824


Alright, ready? 🎯 Let’s get started!


🕹️ What I Built ?


🎮 Title: Beat the Hand: Rock Paper Scissors
🧠 Tech Stack: Python + Pygame
📂 Structure: Auto-generated via Amazon Q CLI

✨ Key Features

  • Beautiful Space-themed & polished UI for an attractive arcade feel 🌄
  • Five game states with smooth transitions: MENU, PLAYING, RESULT, VICTORY, DEFEAT 🧭
  • Clickable icons (rock/paper/scissor) that bounce on hover 🎯
  • Reveal suspense: computer shows its choice after 1 second ⏱️
  • Live scoreboard with wins/losses/draws 📊
  • Celebration popups for Victory or Defeat with rematch buttons 🏆😢

Believe me, all of it was scaffolded just by feeding two natural‑language prompts to Amazon Q CLI - and then tweaking a few lines to truly make it mine.


🚀 Why Amazon Q CLI?

Amazon Q CLI is like having a senior game‑dev friend on standby. You describe what you want, it drafts the code, folder structure, even placeholder assets and many more, the way you want. That frees you - the developerv - to iterate, theme, and polish instead of wrestling with boilerplate.


💻 How I built ?


It all started with a rough copy 📖 - not of code, but of a sketch🖊️. I drew the interface I imagined… layout, buttons, scoreboard etc. - the whole vibe.

rough design

Think of it as a blueprint for my prompt.

Once I designed what I wanted visually, I crafted the prompts like instructions for a genie 🧞‍♂️- clear, specific, and designed to deliver.

Amazon Q CLI did the heavy lifting. 💪

I just fed it my prompts, watched the magic unfold, and then sprinkled in some personal touches to make it truly mine.


💬 The Prompts I Used


Prompt 1

Build a Rock-Paper-Scissors game using Pygame in Python called "Beat the Hand: Rock Paper Scissors." The game should have a space themed and poslidh background to make it attractive, and implement five high level states - MENU, PLAYING, RESULT, VICTORY, and DEFEAT- with smooth transitions. In the menu, show “Play Game” and “Quit” buttons; in game, show clickable rock/paper/scissors icons that bounce slightly on hover, reveal the computer’s choice after a 1 second delay. Keep a scoreboard (player, computer, draws) in a styled panel and declare the match winner among player and computer, also show their choices and add "Play Again" as well as "Main Menu" buttons with proper functionality. Now when either side reaches five points first, overlaying a celebratory or defeat popup with buttons for “Next Match” or "Main Menu".

📸 Here's a glimpse of the magic in action!

Below are some screenshots showing how Amazon Q CLI processed my prompts in real time.

These will give you a better idea of how the responses look, and how quickly you can get a working game scaffolded - without touching a single file at first!

Take a look 👇

screenshot1

screenshot2

screenshot3

🔍 As you can see in the 2nd and 3rd images, Amazon Q CLI generated around 471 lines of code from just my first prompt!

It also neatly outlined the exact features I requested - everything from game states to UI layout - all scaffolded instantly. 🤯

🧠 After that, I gave my second prompt, focusing on assets like images and sounds.


Prompt 2

yes I'll use images for rock, paper and scissor. make an assets folder where i will put all the required images. Apart from that, want a feature like when an user clicks the buttons, rock paper etc. there will be a sound and yes i will put all the required audio as well in the asset folder. so please modify the code for these feature.

And now guess what? 🤔 Just like before, Amazon Q CLI delivered!
It updated the code with image support, integrated audio playback ready for me to drop in my files.

Take a look 👇

screenshot4

screenshot5

🛠️ Once the code was updated, Amazon Q CLI didn’t just stop there - it also provided a detailed summary of the changes it made based on my prompt.

screenshot6

🎶🖼️ After adding all the assets - images and sounds - I ran the game for the first time.

It was working great just looking like a Wowwww! 🎉😍

But hey, you know how it is… 😅 - I couldn’t resist making a few tiny tweaks here and there to match my personal preferences.

🎯 A few layout adjustments, timing tweaks, a bit of styling - just to hit that sweet spot of "Yep, this feels like mine."

The best part is - Amazon Q CLI gave me a powerful foundation, and allowed me a space to personalize and play around with the code.

screenshot7

💡 Pro Tip:

Try to be as innovative as possible with your game ideas!

The more creatively you experiment with different types of prompts, the more you'll unlock what Amazon Q CLI is truly capable of.

🎮 Whether it's adding new game modes, customizing animations, or changing the entire theme - every unique prompt is a new learning experience.

Think of it like this: the deeper you go, the more powerful and insightful your journey with Q CLI becomes. So don’t hold back - let your imagination lead the way!


📸 Outputs

output1

output2

output3

output4

output5


🎥 Gameplay Demo:

  • Want to see it in action?
  • Watch the gameplay demo here 👇👇


✅ Conclusion

Building a game like Beat the Hand: Rock Paper Scissors using just prompts felt like a crossover between creativity and AI-powered coding.

With Amazon Q CLI, I didn’t just write code - I communicated my idea and let it assist me like a coding companion.

This project showed me how far you can go with the right prompt and a bit of imagination.

From a childhood game to a space-themed playable game - all with natural language and a few tweaks. 🤯


📚 What I Learned

  • 🧠 How to break down game design ideas into clear prompts
  • 🚀 The power of Amazon Q CLI in generating complete codebases
  • 🎮 Game state management using Python & Pygame
  • 🎨 How to integrate custom assets (images, sound) for richer interactivity
  • 🛠️ The importance of reviewing and tweaking generated code to match personal needs

🚀 Ideas to Push It Further

Here are some wild and fun ideas you (yes, you) could try next:

  • Add multiplayer mode or network play
  • Implement timed challenges or combo-based scoring
  • Create a dark mode or seasonal UI themes 🎃🌲
  • Show an AI opponent with expressions or taunts 😏
  • Build a leaderboard system with a backend!

The sky's the limit - and with Amazon Q CLI, the journey becomes 10x faster.


💬 Final Thoughts

This was more than just a coding experiment - it was a great reminder of how accessible software building has become with tools like Amazon Q CLI.

🧑‍💻 Whether you're a beginner, hobbyist, or curious developer - if you can describe what you want, you can build it.

So grab your ideas, craft some prompts, and start chatting your way to your next project!


🙏 Thanks for Reading my blog post so far!


If you enjoyed this post or found it helpful:

❤️ Leave a love
💬 Drop a comment
🔁 Share it with a friend
🧠 And don’t forget to experiment wildly with your own prompts!


🤝 Let's Connect!

If you enjoyed this blog or want to talk about tech, games, or creative projects -
I'd love to hear from you!

📬 Email: learncswithsubha@gmail.com

🔗 LinkedIn: Subha Mondal

Let’s build something awesome together 🚀


Made with passion ❤️, zero sleep ☕, and a whole lot of curiosity - by Subha Mondal 😴💻

Top comments (0)