<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: BRENDA CECILIA MENDOZA JAIME</title>
    <description>The latest articles on DEV Community by BRENDA CECILIA MENDOZA JAIME (@brencloud).</description>
    <link>https://dev.to/brencloud</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3355136%2Fddd58672-4221-45f9-b0c9-5ba7fd13bb99.png</url>
      <title>DEV Community: BRENDA CECILIA MENDOZA JAIME</title>
      <link>https://dev.to/brencloud</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/brencloud"/>
    <language>en</language>
    <item>
      <title>🧩 Tetris Inca: Reimagining a Classic Puzzle with Andean Wisdom and Amazon Q Developer CLI</title>
      <dc:creator>BRENDA CECILIA MENDOZA JAIME</dc:creator>
      <pubDate>Tue, 15 Jul 2025 03:30:00 +0000</pubDate>
      <link>https://dev.to/brencloud/tetris-inca-reimagining-a-classic-puzzle-with-andean-wisdom-and-amazon-q-developer-cli-5075</link>
      <guid>https://dev.to/brencloud/tetris-inca-reimagining-a-classic-puzzle-with-andean-wisdom-and-amazon-q-developer-cli-5075</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;✨ &lt;em&gt;This is my submission for the &lt;a href="https://builder.aws.com/content/2y6egGcPAGQs8EwtQUM9KAONojz/build-games-challenge-build-classics-with-amazon-q-developer-cli" rel="noopener noreferrer"&gt;Build Games Challenge&lt;/a&gt;&lt;/em&gt; — a tribute to how modern AI can revive ancient culture in a timeless game.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  ✨ A fusion of retro games and Inca heritage
&lt;/h2&gt;

&lt;p&gt;I’ve always loved classic puzzle games like Tetris — simple mechanics, infinite replay value, and that satisfying &lt;em&gt;click&lt;/em&gt; when you complete a line. But I wanted more than just another clone.&lt;br&gt;&lt;br&gt;
Growing up in Peru, I often wondered: &lt;em&gt;What if a puzzle game could feel like building terraces in the Andes?&lt;/em&gt;&lt;br&gt;&lt;br&gt;
What if, while you’re focused on blocks, you’re also learning little facts about the Inca Empire, guided by a wise virtual Amauta?&lt;/p&gt;

&lt;p&gt;This is how &lt;strong&gt;Tetris Inca&lt;/strong&gt; was born — a classic game rebuilt with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🗿 Andean-inspired stone blocks&lt;/li&gt;
&lt;li&gt;🧙 An adaptive AI mentor called &lt;strong&gt;Yachay&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;✨ Golden particle effects for celebrations like &lt;em&gt;Inti Raymi&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;🌄 Subtle day/night cycles and textured gradients to evoke the Sacred Valley&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;
  
  
  🎮 What makes it special?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Tetris Inca&lt;/strong&gt; is still Tetris at its core. But every detail ties back to my culture:&lt;/p&gt;

&lt;p&gt;✅ Each piece has a Quechua name: &lt;em&gt;Inti Rumi&lt;/em&gt; (Sun Stone), &lt;em&gt;Chakana&lt;/em&gt; (Andean Cross), &lt;em&gt;Rumi Hatun&lt;/em&gt; (Big Stone), and so on.&lt;br&gt;&lt;br&gt;
✅ The blocks use stone textures and decorative motifs like the Chakana cross.&lt;br&gt;&lt;br&gt;
✅ When you clear lines, golden sparkles fly — inspired by the rays of Inti, the Sun God.&lt;br&gt;&lt;br&gt;
✅ The AI coach, &lt;strong&gt;Yachay&lt;/strong&gt;, not only gives gameplay advice but also shares facts about ancient architecture, the chasquis messengers, and the Qhapaq Ñan road network.&lt;br&gt;&lt;br&gt;
✅ The game background shifts from mountain dawn to dusk, a subtle nod to the passage of time.&lt;/p&gt;

&lt;p&gt;It’s a mini tribute to how the Incas built their cities: block by block, aligned with the sun and mountains.&lt;/p&gt;


&lt;h2&gt;
  
  
  🎮 What makes it special?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Tetris Inca&lt;/strong&gt; is still Tetris at its core. But every detail ties back to my culture:&lt;/p&gt;

&lt;p&gt;✅ Each piece has a Quechua name: &lt;em&gt;Inti Rumi&lt;/em&gt; (Sun Stone), &lt;em&gt;Chakana&lt;/em&gt; (Andean Cross), &lt;em&gt;Rumi Hatun&lt;/em&gt; (Big Stone), and so on.&lt;br&gt;&lt;br&gt;
✅ The blocks use stone textures and decorative motifs like the Chakana cross.&lt;br&gt;&lt;br&gt;
✅ When you clear lines, golden sparkles fly — inspired by the rays of Inti, the Sun God.&lt;br&gt;&lt;br&gt;
✅ The AI coach, &lt;strong&gt;Yachay&lt;/strong&gt;, not only gives gameplay advice but also shares facts about ancient architecture, the chasquis messengers, and the Qhapaq Ñan road network.&lt;br&gt;&lt;br&gt;
✅ The game background shifts from mountain dawn to dusk, a subtle nod to the passage of time.&lt;/p&gt;

&lt;p&gt;It’s a mini tribute to how the Incas built their cities: block by block, aligned with the sun and mountains.&lt;/p&gt;


&lt;h2&gt;
  
  
  🚀 Why Amazon Q Developer CLI made this possible
&lt;/h2&gt;

&lt;p&gt;Building a twist on Tetris in just a few days could have been overwhelming.&lt;br&gt;&lt;br&gt;
But &lt;strong&gt;Amazon Q Developer CLI&lt;/strong&gt; became my pair programmer for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🧩 Generating starter classes for game logic&lt;/li&gt;
&lt;li&gt;🔄 Writing robust piece rotation, collision, and grid management&lt;/li&gt;
&lt;li&gt;🧙 Helping me design Yachay’s tracking system: skill level, wisdom level, motivational phrases&lt;/li&gt;
&lt;li&gt;✨ Suggesting effects like golden particles and day/night overlays&lt;/li&gt;
&lt;li&gt;🎵 Adding background music logic and asset handling&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Instead of reinventing Tetris from scratch, I focused on the story and vibe.&lt;/p&gt;


&lt;h2&gt;
  
  
  💡 Some real prompts I used
&lt;/h2&gt;

&lt;p&gt;I experimented with Amazon Q as my co-pilot. Here are &lt;strong&gt;some actual prompts&lt;/strong&gt; that helped shape the final game:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"Create a Python Pygame Tetris game with OOP design,
support moving, rotating, dropping pieces, and line clearing."
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;I wanted a strong base — clean object-oriented code so I could expand later.&lt;br&gt;
&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"Add an adaptive AI coach called Yachay that tracks average decision time, rotation patterns, and balance of the board."
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;My idea was that the player shouldn’t just stack blocks — they should feel mentored, like by an ancient Amauta.&lt;br&gt;
&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"Make Yachay give Inca wisdom phrases and real trivia facts each time the player clears lines."
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5g6b54x2t64q75r887tn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5g6b54x2t64q75r887tn.png" alt="yachay" width="800" height="627"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;This turned the game into a cultural experience. I loved how Q suggested a wisdom level that grows.&lt;br&gt;
&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"Add golden particle sparkles that fly when lines are cleared — inspired by Inti Raymi."
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;I wanted the line clearing to feel celebratory, like the Sun Festival.&lt;br&gt;
&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"Create a background gradient from sky blue to earthy browns to mimic the Andes terraces."
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;I asked for a subtle day/night cycle too — and Q gave me the math for a sine wave alpha overlay!&lt;br&gt;
&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"Make a final stats screen that shows total score, lines cleared, wisdom level (0-10), average decision time, and random Inca facts."
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;My goal was that finishing the game felt like closing a ceremony — with historical facts, not just numbers.&lt;br&gt;
&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"Design a day/night cycle that smoothly transitions the background color over time."
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;The Andes sky changes dramatically. I loved that Q knew how to blend colors per frame.&lt;br&gt;
&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Add a special unique Tetris piece inspired by the Inca 'Piedra de los 12 Ángulos' with irregular shape and unique points.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fadnyq3vqdqrneheu68wk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fadnyq3vqdqrneheu68wk.png" alt="'Piedra de los 12 Ángulos'" width="796" height="627"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;I wanted a &lt;em&gt;super iconic&lt;/em&gt; 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!&lt;br&gt;
&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"Write prompts in Spanish that feel like a real Amauta giving ancestral advice."
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;My native language is Spanish — so I mixed English and Spanish prompts. It worked perfectly.&lt;br&gt;
&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Improve the UI to have stone-like frames, Chakana decorations, and compact info panels for score, level, lines."
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjb9dwpogjr62ssyy0s6t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjb9dwpogjr62ssyy0s6t.png" alt="ui" width="800" height="628"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;I wanted every corner of the game to reflect Inca aesthetics — Q even gave me small icons: sun, quipu, chasqui!&lt;br&gt;
&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"Add Andean 8-bit style background music that loops."
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;This part was tricky — Q helped with the Pygame mixer logic, but the real sound assets I had to find myself.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;p&gt;💬 I loved how conversational it felt — I’d ask for specific twists like:&lt;br&gt;
"What would an Andean mentor say if the player makes mistakes three times in a row?" — and Amazon Q delivered rich, motivational advice.&lt;/p&gt;




&lt;h2&gt;
  
  
  🧩 Behind the scenes: design challenges
&lt;/h2&gt;

&lt;p&gt;Building the Yachay AI was my favorite part.&lt;br&gt;
I had to track:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Average decision time for moving/rotating pieces&lt;/li&gt;
&lt;li&gt;Number of successful placements vs. mistakes&lt;/li&gt;
&lt;li&gt;Imbalance in the grid (too many blocks on one side? Yachay warns you!)&lt;/li&gt;
&lt;li&gt;A wisdom level that grows from 0 to 10 — unlocking better advice&lt;/li&gt;
&lt;li&gt;Plus, I wrote an Inca trivia database: every cleared terrace gives you a fact about stonework, chasquis, quipus, or sites like Sacsayhuamán.&lt;/li&gt;
&lt;li&gt;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.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  📚 Cultural notes
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;This game is more than a reskin.&lt;/li&gt;
&lt;li&gt;The Incas built vast terraces (andenes) for agriculture, using precise stonework that survives earthquakes.&lt;/li&gt;
&lt;li&gt;They aligned cities to the sun’s path — Machu Picchu is a living observatory.&lt;/li&gt;
&lt;li&gt;In Tetris Inca, each line you clear is like a terrace you perfect.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The AI mentor represents an Amauta — a wise teacher who passes down knowledge from generation to generation.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;It’s my way of sharing that pride through gameplay.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  🗃️ Repository
&lt;/h2&gt;

&lt;p&gt;✅ GitHub: &lt;a href="https://github.com/BrendaMendozaJ/Tetris-Inca" rel="noopener noreferrer"&gt;https://github.com/BrendaMendozaJ/Tetris-Inca&lt;/a&gt;&lt;br&gt;
✅ Includes full source code, requirements.txt&lt;br&gt;
✅ Open-source, so feel free to fork or remix it!&lt;/p&gt;




&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp3xedqtz8ng0o0uwa4bu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp3xedqtz8ng0o0uwa4bu.png" alt=" " width="800" height="621"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;📷 Main game board with Inca stone blocks&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnlm7er7hpd9tqqy0p4t3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnlm7er7hpd9tqqy0p4t3.png" alt=" " width="793" height="623"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;✨ Particle sparkles when clearing lines and Yachay’s advice box with Inca facts&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkz6um9rruyo4i4wqd9h0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkz6um9rruyo4i4wqd9h0.png" alt="stats" width="796" height="621"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;📊 Final stats screen with wisdom level and trivia&lt;/p&gt;




&lt;h2&gt;
  
  
  🔑 Lessons learned
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Amazon Q Developer CLI saved me time on repetitive code and logic.&lt;/li&gt;
&lt;li&gt;It sparked creative ideas for visuals and AI dialogue.&lt;/li&gt;
&lt;li&gt;I felt like I had a real conversation with an AI pair programmer.&lt;/li&gt;
&lt;li&gt;I learned to balance cultural respect and fun mechanics — not just a skin, but a vibe.&lt;/li&gt;
&lt;li&gt;I want to keep exploring games that teach players something meaningful.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🚧 Next steps
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Add dynamic weather effects: rain, sunbeams.&lt;/li&gt;
&lt;li&gt;Expand Yachay’s wisdom with Quechua phrases.&lt;/li&gt;
&lt;li&gt;Compose authentic 8-bit Andean melodies.&lt;/li&gt;
&lt;li&gt;Unlock new levels themed around Ollantaytambo, Pisac, Moray.&lt;/li&gt;
&lt;li&gt;Port it to web so more people can play.&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;✨ May your terraces stand the test of time!&lt;/p&gt;

</description>
      <category>buildgameschallenge</category>
      <category>amazonqdevcli</category>
      <category>aws</category>
      <category>awschallenge</category>
    </item>
  </channel>
</rss>
