
Building Rock Paper Scissors Game with AI 💥by Amazon Q
AI Powered game built by Amazon Q
Published May 9, 2025
Rock Paper Scissors is one of my favorite games, which I used to play a lot. This week, I am thinking of experiencing that joy again using AI, but I am not sure how to bring it into existence. As I am not familiar with any related technology that could allow me to build it, I then got to know about Amazon Q Developer and its strengths in writing code and implementing logic.
Therefore, this article details my experience of using Amazon Q Developer and how it allows me to build a complex (yes! you heard right!), webcam-controlled Rock Paper Scissors (RPS) game, demonstrating how Q significantly reduced my development barriers and delivered awesome results 😍.
Like this:

Basically my goal was to create a fully interactive, browser-based Rock Paper Scissors game with two distinct player types: Human and AI.
- Human Player (Me): Input is captured via the user's webcam, with hand gestures (Rock, Paper, or Scissors) being recognized in real-time.
- AI Opponent: The AI's moves are determined by Gemini, accessed via its API, adding an intelligent and unpredictable element to the gameplay.
The entire application implemented so simply in vanilla JavaScript for logic and interactivity (so that i can understand better).
You can also checkout the demo:
Here is the Source Code of project: Github Repo
If you like the project then do give it a star ⭐.
Amazon Q Developer played a key role in bringing my game idea to life. It helped me with the entire process, from structuring the project to implementing the code. Since I didn't have a detailed plan for this project, I entered this high-level prompt into Amazon Q:

Instantly, it provided a clear plan and began building the project. My initial thought was that it might not get it right on the first try, and I'd need to guide it through several iterations to get a working prototype. I was surprised to be wrong because Amazon Q delivered a solid implementation that handled everything smoothly – from error handling to integrating the necessary libraries, it all worked perfectly from the start.

I must say, Amazon Q Developer is an excellent AI Coding Assistant. It increased my productivity and helped me bring ideas to life much faster and with fewer errors. I've also used other AI coding assistants and builder tools before, but none have provided me results of this level.
If you haven't explored Amazon Q Developer yet, I highly recommend giving it a try – it would be a nice experience for your workflow. For those who have already used it, I'd love to hear about your experiences in the comments below!
You can also checkout the Amazon Q and use it for free: Amazon Q Developer
Thanks for Reading and Stay Tuned for more such stuffs!