AWS Builder Center
Flappy Bird, Built With Kiro IDE

Flappy Bird, Built With Kiro IDE

Tap to flap through the pipes. A one-file Flappy Bird clone built with Kiro IDE during AWS Student Community Day Buea prep.

I Built My First Web Game With Kiro IDE Join Us at AWS Student Community Day Buea (21 November 2026)


Flappy-bird game running


How it started

I sat down at Pre-Session 4 of the AWS Student Community Day Buea preparation series with zero web-game experience and one question: can I actually build something real today? The session, organized by the AWS Student Builder Group at the University of Buea, was built around one idea — hand students Kiro IDE, an AI-powered development environment, and see what happens when an idea meets a capable assistant.
A few prompts later I had a working Flappy Bird clone running in my browser — a game I could actually play, with sound, scores, and a polished look. Here's the honest story of how it went — and why you should come build with us on 21 November 2026.


Kiro IDE during development


What I built and why

The goal of the session wasn't to watch someone demo — it was to ship something. I picked a Flappy Bird clone because the mechanics are simple to explain but rich enough to teach real concepts: a game loop, physics, collision, and scoring.
The final game is a single  flappy-bird.html  file built with HTML5 Canvas. A bird falls under gravity; you flap with the spacebar, a click, or a tap. Green pipes with random gaps scroll from right to left, and you have to fly through the gaps. Each pipe you pass scores a point. Hit a pipe or the ground and it's game over, with a restart option.
As I kept iterating with Kiro, it grew into more than a toy: synthesized sound effects via the Web Audio API (no external files), a high-score system saved in the browser's  localStorage , three difficulty levels — Easy, Medium, and Hard — that change speed, gap size, and gravity, a start screen with a "How to Play" card, and a modern dusk-sunset look with a rounded font and smooth animations.

Building with Kiro IDE

What surprised me most was how conversational it felt. I didn't hand-write much code — I described what I wanted, and Kiro generated and refined it, editing the file directly and showing me each change. My very first prompt was basically the whole game in one breath:
"Build a Flappy Bird clone as a single HTML file using HTML5 Canvas. The player controls a bird that falls due to gravity… green pipes with random gaps scroll from right to left… the game ends if the bird hits a pipe or the ground… show the score and a game over screen with restart."
Kiro returned a complete, playable file. From there I stacked features one prompt at a time:
"Add sound effects for scoring and game over using free web audio APIs so it works without external files. Add a high score system saved in localStorage. Add difficulty levels: Easy, Medium, Hard."
"Add a start screen with the title, instructions on how to play, and a 'Start Game' button."
"Improve the visual design with a modern color scheme, smooth animations, better fonts, and subtle shadows."

Example of prompts used in Kiro IDE

I tested constantly — refresh, play, notice what felt off, then describe it to Kiro. I didn't need to know the Canvas API; I needed to know what I wanted the game to feel like, a far lower bar for a beginner.

Publishing with GitHub Pages

A game that only lives on my laptop isn't really shipped, so the last step was putting it online. After installing Git, I initialized a repository in my project folder:
git init
git add flappy-bird.html
git commit -m "Add game HTML file"
git branch -M main
git remote add origin https://github.com/sonyjunior237/First-web-game.git
git push -u origin main
That pushed the single HTML file up to my GitHub repository. Then I turned on GitHub Pages: in the repo, Settings → Pages → Build and deployment → Deploy from a branch, selected main and /(root), and saved. Within a minute GitHub built the site and served it at a live URL.
One real gotcha worth sharing: GitHub Pages looks for  index.html  at the root, but my file is named  flappy-bird.html . So the game lives at the file's full path —  …/First-web-game/flappy-bird.html  — not the bare root URL. Renaming a copy to  index.html  would make the root link load the game directly.
[SCREENSHOT 4: GitHub repository and GitHub Pages deployment]

Challenges and solutions

The most memorable challenge wasn't a missing feature — it was a freeze. At one point the game locked up whenever I used my mouse, and I had to reload the page. I described the symptom to Kiro in plain language: "the game freezes and there's no way to continue, forced to restart." We traced it to the animation loop: if anything throws an error mid-frame, the next frame never gets scheduled, so the whole screen freezes. The trigger was sound — a Web Audio call that runs inside the loop the moment you pass a pipe. The fix was to sandbox the audio in a  try/catch  so it can never crash the loop, and to make the loop itself crash-proof. The freeze disappeared.
The second challenge was performance. The fancy shadows and gradients looked great but made the game lag. Kiro's solution was to "bake" the static art — the sky, the bird, the pipes, the vignette — into offscreen canvases once, then paste them onto the screen each frame instead of redrawing every gradient and shadow from scratch. The game looked identical but ran far smoother. On high-refresh monitors it also ran too fast, fixed by stepping the physics at a steady 60 times per second.
i exceeded my monthly trial as soon as i wanted to implement other features to the game

What I learned

Three lessons stuck. First, prompt engineering is a real skill — the better I described the feel, the edge cases, and the exact behavior, the better the code. Second, AI-assisted development is a loop, not a magic button: prompt, play, notice, prompt again. The iteration mattered more than any single prompt. Third, debugging in plain language works — describing a bug ("the game freezes when I click") was enough for Kiro to find the cause. I also picked up real engineering — the game loop, collision detection, caching — by reading the generated code instead of memorizing a tutorial.

What's next

The game works, but it's far from done — I'm thinking about a global leaderboard, background music, and unlockable bird skins. More than the game, though, I walked out believing I can build.
If you're a student in Buea and you've never built anything "real," this is your sign. Come to AWS Student Community Day Buea on 21 November 2026, bring your laptop and an idea, and let Kiro IDE help you turn it into something you can actually ship. The AWS Student Builder Group at the University of Buea built this pre-session series for exactly that — and I can't wait to see what you build.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article