Recently I discovered an exciting post from Amazon:
Build Games with Amazon Q CLIWhat is Amazon Q CLI?
Itโs a developer tool that helps you quickly scaffold, build, and test applications (like games!) using natural language prompts โ powered by AI.
As a tech educator, I thought: "How can I use this to complement education?" ๐ค One quick idea was to leverage this tool to rapidly generate interactive learning materials โ like games โ that I can use to teach both software development and ethical hacking at the same time.
I also wanted to challenge the AI โ not just in Python, but in C. Let's see how far it can go.
I'm on Ubuntu. I followed this official setup guide:
Install Amazon Q CLI (Ubuntu)I challenged Amazon Q to make a Flappy Bird clone โ but in C. Why C? Because Python is too easy, and I wanted to see if an AI could handle a low-level language with graphical output.
The prompt I gave was super simple:

"Write me a game in C that is like flappy bird"
Initially, this prompt didnโt work. The AI gave a text-only version of the game. But once I added a simple follow-up โ "I want it to be graphical" โ it started pulling in graphical libraries and producing real output!
Amazon Q automatically pulled in the necessary dependencies like libsdl2-dev and scaffolded a working graphical prototype.
sudo apt update && sudo apt install -y libsdl2-dev libsdl2-ttf-dev
Simple bird + pipe overlay... and it runs!

Game over :(
Scroll down below if you want to see a video of the game!
In the future, weโve got to be more precise and clear when talking to LLMs.
Giving AI tools clear, well-defined instructions isnโt just a trick โ itโs a real-world problem-solving skill. In fact, this is how we solve problems in reality too!
One thing that really impressed me is how clearly AI tools like Amazon Q explain classic programming problems. When I asked it to handle collision detection โ one of the hardest parts in beginner game development โ it not only generated the logic, but explained it too!
For example, detecting when the bird hits a pipe isnโt trivial. But Amazon Q broke it down using meaningful variable names and step-by-step reasoning. This makes it an excellent learning tool โ even for kids!

Prompting Amazon Q to explain game logic like collision detection
// AI-generated collision check
if ((bird.x + bird.width > pipe.x) &&
(bird.x < pipe.x + pipe.width) &&
((bird.y < pipe.gapY) || (bird.y + bird.height > pipe.gapY + GAP_HEIGHT))) {
// Collision detected!
gameOver = true;
}This kind of output โ clean, well-named, and easy to read โ is exactly what we want beginners to see. It shows how to structure a solution and why it works. Looking at these examples and then trying to write your own is a great way to learn.
For future teaching use, I wanted this game to run anywhere. So I asked Amazon Q to:
It delivered both!
Now, I can double-click the Windows executable โ no setup needed. And I have a Docker-based environment to recompile any time.
Iโm genuinely impressed by how easy AI tools like Amazon Q make development.
With such low barriers, anyone can start building and learning โ fast.
This experiment has already sparked ideas for more content and hands-on activities.
Stay tuned for the next blog where Iโll reverse engineer this game and crack it open ๐๐
Once everything was done, I packaged the entire project โ source code, compiled binaries, assets, and instructions โ into a portable zip archive. This makes it easy for anyone to download and try it out without needing to set up a development environment.
I also recorded a quick gameplay video so you can see what the final result looks like in action:
Gameplay demo โ itโs simple, but satisfying!

A full build with binaries, source, and README included.