✨ This is my submission for the Build Games Challenge — a tribute to how modern AI can revive ancient culture in a timeless game.
✨ A fusion of retro games and Inca heritage
I’ve always loved classic puzzle games like Tetris — simple mechanics, infinite replay value, and that satisfying click when you complete a line. But I wanted more than just another clone.
Growing up in Peru, I often wondered: What if a puzzle game could feel like building terraces in the Andes?
What if, while you’re focused on blocks, you’re also learning little facts about the Inca Empire, guided by a wise virtual Amauta?
This is how Tetris Inca was born — a classic game rebuilt with:
- 🗿 Andean-inspired stone blocks
- 🧙 An adaptive AI mentor called Yachay
- ✨ Golden particle effects for celebrations like Inti Raymi
- 🌄 Subtle day/night cycles and textured gradients to evoke the Sacred Valley
🎮 What makes it special?
Tetris Inca is still Tetris at its core. But every detail ties back to my culture:
✅ Each piece has a Quechua name: Inti Rumi (Sun Stone), Chakana (Andean Cross), Rumi Hatun (Big Stone), and so on.
✅ The blocks use stone textures and decorative motifs like the Chakana cross.
✅ When you clear lines, golden sparkles fly — inspired by the rays of Inti, the Sun God.
✅ The AI coach, Yachay, not only gives gameplay advice but also shares facts about ancient architecture, the chasquis messengers, and the Qhapaq Ñan road network.
✅ The game background shifts from mountain dawn to dusk, a subtle nod to the passage of time.
It’s a mini tribute to how the Incas built their cities: block by block, aligned with the sun and mountains.
🎮 What makes it special?
Tetris Inca is still Tetris at its core. But every detail ties back to my culture:
✅ Each piece has a Quechua name: Inti Rumi (Sun Stone), Chakana (Andean Cross), Rumi Hatun (Big Stone), and so on.
✅ The blocks use stone textures and decorative motifs like the Chakana cross.
✅ When you clear lines, golden sparkles fly — inspired by the rays of Inti, the Sun God.
✅ The AI coach, Yachay, not only gives gameplay advice but also shares facts about ancient architecture, the chasquis messengers, and the Qhapaq Ñan road network.
✅ The game background shifts from mountain dawn to dusk, a subtle nod to the passage of time.
It’s a mini tribute to how the Incas built their cities: block by block, aligned with the sun and mountains.
🚀 Why Amazon Q Developer CLI made this possible
Building a twist on Tetris in just a few days could have been overwhelming.
But Amazon Q Developer CLI became my pair programmer for:
- 🧩 Generating starter classes for game logic
- 🔄 Writing robust piece rotation, collision, and grid management
- 🧙 Helping me design Yachay’s tracking system: skill level, wisdom level, motivational phrases
- ✨ Suggesting effects like golden particles and day/night overlays
- 🎵 Adding background music logic and asset handling
Instead of reinventing Tetris from scratch, I focused on the story and vibe.
💡 Some real prompts I used
I experimented with Amazon Q as my co-pilot. Here are some actual prompts that helped shape the final game:
"Create a Python Pygame Tetris game with OOP design,
support moving, rotating, dropping pieces, and line clearing."
I wanted a strong base — clean object-oriented code so I could expand later.
"Add an adaptive AI coach called Yachay that tracks average decision time, rotation patterns, and balance of the board."
My idea was that the player shouldn’t just stack blocks — they should feel mentored, like by an ancient Amauta.
"Make Yachay give Inca wisdom phrases and real trivia facts each time the player clears lines."
This turned the game into a cultural experience. I loved how Q suggested a wisdom level that grows.
"Add golden particle sparkles that fly when lines are cleared — inspired by Inti Raymi."
I wanted the line clearing to feel celebratory, like the Sun Festival.
"Create a background gradient from sky blue to earthy browns to mimic the Andes terraces."
I asked for a subtle day/night cycle too — and Q gave me the math for a sine wave alpha overlay!
"Make a final stats screen that shows total score, lines cleared, wisdom level (0-10), average decision time, and random Inca facts."
My goal was that finishing the game felt like closing a ceremony — with historical facts, not just numbers.
"Design a day/night cycle that smoothly transitions the background color over time."
The Andes sky changes dramatically. I loved that Q knew how to blend colors per frame.
Add a special unique Tetris piece inspired by the Inca 'Piedra de los 12 Ángulos' with irregular shape and unique points.
I wanted a super iconic cultural twist. The 'Piedra de los 12 Ángulos' is a symbol of Inca architecture perfection — so adding this piece as a surprise block made my game truly Peruvian!
"Write prompts in Spanish that feel like a real Amauta giving ancestral advice."
My native language is Spanish — so I mixed English and Spanish prompts. It worked perfectly.
Improve the UI to have stone-like frames, Chakana decorations, and compact info panels for score, level, lines."
I wanted every corner of the game to reflect Inca aesthetics — Q even gave me small icons: sun, quipu, chasqui!
"Add Andean 8-bit style background music that loops."
This part was tricky — Q helped with the Pygame mixer logic, but the real sound assets I had to find myself.
💬 I loved how conversational it felt — I’d ask for specific twists like:
"What would an Andean mentor say if the player makes mistakes three times in a row?" — and Amazon Q delivered rich, motivational advice.
🧩 Behind the scenes: design challenges
Building the Yachay AI was my favorite part.
I had to track:
- Average decision time for moving/rotating pieces
- Number of successful placements vs. mistakes
- Imbalance in the grid (too many blocks on one side? Yachay warns you!)
- A wisdom level that grows from 0 to 10 — unlocking better advice
- Plus, I wrote an Inca trivia database: every cleared terrace gives you a fact about stonework, chasquis, quipus, or sites like Sacsayhuamán.
- The particle system also came from a Q-generated snippet — which I then tweaked for sparkles that fade out and float gently, like sun rays during Inti Raymi.
📚 Cultural notes
- This game is more than a reskin.
- The Incas built vast terraces (andenes) for agriculture, using precise stonework that survives earthquakes.
- They aligned cities to the sun’s path — Machu Picchu is a living observatory.
- In Tetris Inca, each line you clear is like a terrace you perfect.
The AI mentor represents an Amauta — a wise teacher who passes down knowledge from generation to generation.
It’s my way of sharing that pride through gameplay.
🗃️ Repository
✅ GitHub: https://github.com/BrendaMendozaJ/Tetris-Inca
✅ Includes full source code, requirements.txt
✅ Open-source, so feel free to fork or remix it!
📷 Main game board with Inca stone blocks
✨ Particle sparkles when clearing lines and Yachay’s advice box with Inca facts
📊 Final stats screen with wisdom level and trivia
🔑 Lessons learned
- Amazon Q Developer CLI saved me time on repetitive code and logic.
- It sparked creative ideas for visuals and AI dialogue.
- I felt like I had a real conversation with an AI pair programmer.
- I learned to balance cultural respect and fun mechanics — not just a skin, but a vibe.
- I want to keep exploring games that teach players something meaningful.
🚧 Next steps
- Add dynamic weather effects: rain, sunbeams.
- Expand Yachay’s wisdom with Quechua phrases.
- Compose authentic 8-bit Andean melodies.
- Unlock new levels themed around Ollantaytambo, Pisac, Moray.
- Port it to web so more people can play.
Thanks to AWS Builder Community for hosting this challenge — and to Amazon Q Developer CLI for showing how AI can empower developers to build playful, personal, culturally relevant games.
✨ May your terraces stand the test of time!
Top comments (0)