As a web developer, I’ve always been comfortable building websites and apps, but game development? That was a whole different world. Sure, I’m a gamer at heart, but creating games? I had no clue where to start.
But everything changed when AI “stepped into the world”, I used AI in my daily tasks but I had never tried applying it to making games. One day, I read the post about using Amazon Q and score the T-shirt, I thought, “Why not give it a try?” and I started building a flash card game - a simple game that helps you practice memory and reflexes. It's also my favorite game in real life. After about 20 minutes of ‘vibe coding’ (just going with the flow), the game was done! 🤯 I have a game written by "my prompt" 🤣.
And here are things made my mind blow up when using Amazon Q
🚀 Simple setup (~ 5mins)
Setup steps very simple, just a few command line and Amazon Q ready to use on your local
👀 Understand your idea just by a simple prompt
I used a simple prompt below and everything let Q handle
Create a simple vocabulary flashcards matching game using Python and Pygame. The game should have the following features:
- Display a grid of face-down cards. Each card hides either a vocabulary word or its definition.
- When the player clicks on a card, it flips to reveal the word or definition.
- The player selects two cards per turn. If the word matches its correct definition, the pair stays revealed; otherwise, both cards flip back face-down.
- The game ends when all pairs are matched.
- Include at least two difficulty levels with different sets of vocabulary words.
Make the code modular and easy to understand for beginners.
🥶 Write code like a PRO
It only took about 10 minutes to write the code and clearly comment on the complex functions. Even so, it generated code using the OOP concept in a very clean and easy-to-understand manner. I also tried fixing a bug myself, and it was very easy to maintain. Below is the Fibonacci function written by it
😏 Write & run test for you
You can use it to write and run test in chat session
⌨️ Text-to-bash
It can translate your text to bash like image below, now I don't need to remember bash syntax more
❓Ask everything around the world - especially AWS
Aside "vibe coding", you can ask Amazon Q everything (docker, database, etc). Even more, it can give the suggestion about AWS services by your demand.
And many, many things it can do more....
Above are things I discover in 20mins "vibe coding" with Amazon Q. If you’re a developer curious about game creation but feel overwhelmed by where to start, I highly recommend giving Amazon Q a try.
Happy coding!
Top comments (0)