I recently built a New Zealandโthemed memory matching game using the Amazon Q Developer CLI โ a new tool that helps developers generate code using natural language, right in the terminal.
This was part of my submission for the Build Games with Amazon Q CLI Challenge โ and yes, thereโs a t-shirt involved. ๐
๐ฟ Why a Kiwi-Themed Game?
As someone currently living in Aotearoa New Zealand, I wanted to create something that reflects the local culture and wildlife. The idea of using familiar NZ symbols โ like the ๐ฅ kiwi bird, ๐ฟ silver fern, ๐ koru, and ๐ค pลซkeko โ made the game not only fun but also meaningful to build.
It was also a perfect fit for a small offline browser game: simple logic, a welcoming tone, and room to apply accessibility and language features.
๐ง What I Built
๐ง Kiwi Memory Game โ a lightweight memory game playable in any browser.
- Built with HTML, CSS, and JavaScript
- Features:
- Card flip animations and match logic
- Web Audio APIโpowered sound feedback
- Theme and language toggle (English + Te Reo Mฤori)
- Accessible with keyboard and screen readers
- Works completely offline
- Deployed via GitHub Pages
๐ Code:
๐ https://github.com/jajera/q-kiwi-memory-game
โ๏ธ How I Used Q CLI
Amazon Q CLI lets you generate, test, and refine code interactively in your terminal. Here's what my workflow looked like:
- Logged in via
q loginusing my Builder ID - Ran
q chatto open an interactive code session - Pasted a detailed spec for the game โ including visual style, logic, accessibility, and sound
- Iterated multiple times to improve the UI, fix bugs, and add polish
๐ Full specification โ The more specific your prompt, the better the results.
๐งช Lessons Learned
- Q CLI is a powerful tool for generating and scaffolding ideas quickly
- Clear, structured prompts yield far better results than vague ones
- Itโs a collaborative tool โ you still need to test, fix, and iterate
- Small games like this are a great sandbox for accessibility and browser-based UX
๐ฎ Play the Game
๐น๏ธ Try the game here:
๐ https://jajera.github.io/q-kiwi-memory-game/
Or explore the code:
๐ https://github.com/jajera/q-kiwi-memory-game
If you're curious about Amazon Q CLI or just want to build something creative and fun โ join the challenge and start shipping ideas today.
Questions or feedback? Drop them in the comments!
Top comments (0)