DEV Community

Disha T
Disha T

Posted on

🐦🐰 I Built Two Games in 4 Hours Using Amazon Q CLI !

🎮 One Prompt, Two Games: My Game Dev Sprint with Amazon Q CLI & Pygame

🧠 Introduction

during the vacation time I set out on a spontaneous game development sprint—and it turned out to be one of the most productive Four hours I've ever spent building something. Thanks to Amazon Q Developer CLI, I didn’t just create one, but two fully working mini-games:

  • 🐦 A Flappy Bird clone
  • ☕ A time-management café simulator called Bunny Café

It was fast, fun, and surprisingly smooth, especially with the help of Amazon Q CLI doing a lot of the heavy lifting in the background.


🐤 First Game: Flappy Bird in One Prompt

To test Amazon Q CLI, I started with a basic prompt:

make a simple flappy bird game using pygame
Enter fullscreen mode Exit fullscreen mode

And just like that, it generated:

  • Gravity-based bird movement

  • Pipes that scroll across the screen

  • Collision detection

  • Restart logic

With only minor tweaks to visuals and restart behavior, the game was fully playable.

Image description

Image description

Results

Image description


🐰☕ Second Game: Bunny Café – A Time Management Game

After finishing my Flappy Bird game , I decided to push things a bit further. My next idea was a time-management game with a cute twist: a bunny café where bunnies serve coffee and cake to animal customers.

I called it "Bunny Café."

This required more complexity:

  • Customer queueing and order tracking

  • Item pickup and delivery

  • Timer for customer patience

  • Points for correct orders

🐣 Phase 1: The No-Asset Prototype

To kick things off, I used a basic prompt like before :

Create a pygame food service game where a bunny serves cake and coffee to animal customers. Include timers and point system.
Enter fullscreen mode Exit fullscreen mode

Image description

Q created a game window with basic rectangles for the bunny, coffee, and cake . Mouse-click based interaction to serve items, point system, Countdown timer and Randomly generated orders.

so Basic logic = solid

Results:

Image description

🎨 Phase 2: Adding Custom Assets

Once I was happy with the gameplay loop, it was time to add some assets—because what’s a bunny café without a Bunny

So I added this prompt:

Image description

Also about the Art...

Amazon Q CLI won’t draw your bunny for you (yet 😄), but once you have your images—like the bunny, coffee cup, cake, and background—it totally knows what to do with them. I just dropped my files into an assets/ folder, and Q handled the rest. It even updated the code to load and place them in the game. Super smooth.

and after the Asset were added the result was something like this :

Image Description


🧠 Final Thoughts

For developers looking to speed up their workflow while exploring new ideas, I highly recommend trying out Amazon Q CLI. Whether you're building games, experimenting with prototypes, or just learning the ropes, having an AI-powered assistant right in your terminal can make the whole process faster, smoother, and way more fun.

Top comments (0)