<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[EmojiDodge Game]]></title><description><![CDATA[EmojiDodge Game]]></description><link>https://emojidodge-game.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Fri, 16 Oct 2026 06:45:55 GMT</lastBuildDate><atom:link href="https://emojidodge-game.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[🚀 Building “Emoji Dodge” with Amazon Q CLI and PyGame — My Experience in the Amazon Q Challenge]]></title><description><![CDATA[🧠 Introduction
Gaming has always fascinated me, not just as a player but as a developer. When I heard about the Amazon Q CLI Challenge, I knew this was my chance to combine innovation, AI, and gaming. This blog shares my journey of building “Emoji D...]]></description><link>https://emojidodge-game.hashnode.dev/building-emoji-dodge-with-amazon-q-cli-and-pygame-my-experience-in-the-amazon-q-challenge</link><guid isPermaLink="true">https://emojidodge-game.hashnode.dev/building-emoji-dodge-with-amazon-q-cli-and-pygame-my-experience-in-the-amazon-q-challenge</guid><category><![CDATA[amazon Q developer CLI ]]></category><category><![CDATA[Amazon Q Builder]]></category><category><![CDATA[Amazon Q developers]]></category><dc:creator><![CDATA[Parthib Chakraborty]]></dc:creator><pubDate>Fri, 06 Jun 2025 11:36:22 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1749209665620/7a623dc0-a6e8-4081-ab10-ffa2b186fda2.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2 id="heading-introduction">🧠 Introduction</h2>
<p>Gaming has always fascinated me, not just as a player but as a developer. When I heard about the <a target="_blank" href="https://aws.amazon.com/q/cli/">Amazon Q CLI Challenge</a>, I knew this was my chance to combine innovation, AI, and gaming. This blog shares my journey of building <strong>“Emoji Dodge”</strong>, an interactive terminal-based survival game, with the help of <strong>Amazon Q CLI</strong> and <strong>PyGame</strong>.</p>
<blockquote>
<p>🎮 GitHub Repository: <a target="_blank" href="https://github.com/parthibCodes/emojiDodge">github.com/parthibCodes/emojiDodge</a></p>
</blockquote>
<hr />
<h2 id="heading-what-is-amazon-q-cli">🛠️ What is Amazon Q CLI?</h2>
<p>Amazon Q CLI is Amazon's generative AI assistant for developers, directly available in your terminal. Think of it like ChatGPT but built right into your command-line interface. You can use it to:</p>
<ul>
<li><p>Generate and debug code</p>
</li>
<li><p>Explain libraries and frameworks</p>
</li>
<li><p>Scaffold full projects</p>
</li>
<li><p>Answer any programming questions — all without leaving your terminal</p>
</li>
</ul>
<p>This makes it perfect for rapidly prototyping ideas like games!</p>
<hr />
<h2 id="heading-project-idea-emoji-dodge">🎯 Project Idea: Emoji Dodge</h2>
<p>I wanted to build a game that’s:</p>
<ul>
<li><p>Visually fun</p>
</li>
<li><p>Easy to play but hard to master</p>
</li>
<li><p>Enhanced with powerups, combos, and emotional feedback</p>
</li>
</ul>
<p>That’s how <strong>Emoji Dodge</strong> was born. You play as a quirky emoji dodging falling obstacles while collecting powerups and saviors.</p>
<hr />
<h2 id="heading-features-of-the-game">🧩 Features of the Game</h2>
<ul>
<li><p>🧍‍♂️ Play as different emoji avatars like 😎, 🐱, 🦸‍♂️</p>
</li>
<li><p>🧱 Dodge obstacles raining from the top</p>
</li>
<li><p>❤️ Lives system with visual feedback</p>
</li>
<li><p>🧠 Combo bonus system for skilled dodging</p>
</li>
<li><p>🌑 Day/Night mode switching every 30 seconds</p>
</li>
<li><p>🕹️ Slow-motion powerup and fake saviors</p>
</li>
<li><p>💀 Game over screen with score stats and emojis</p>
</li>
<li><p>🔁 Restart with a simple key press</p>
</li>
<li><p>🎡 Spin wheel integration (work-in-progress)</p>
</li>
</ul>
<hr />
<h2 id="heading-using-amazon-q-cli">🤖 Using Amazon Q CLI</h2>
<p>Here’s how I used Amazon Q CLI in my workflow:</p>
<h3 id="heading-1-installing-q-cli-and-pygame">🔍 1. Installing Q CLI and PyGame</h3>
<ul>
<li><p>Installed Amazon Q CLI by following the guide for Windows (also available for Linux)</p>
</li>
<li><p>Installed PyGame using:</p>
<pre><code class="lang-python">  pip install pygame
</code></pre>
</li>
</ul>
<h3 id="heading-2-chatting-with-amazon-q">💬 2. Chatting with Amazon Q</h3>
<p>I used Amazon Q to:</p>
<ul>
<li><p>Get PyGame boilerplate code</p>
</li>
<li><p>Troubleshoot bugs in the main game loop</p>
</li>
<li><p>Get suggestions for improving UX like overlay effects, combo systems, etc.</p>
</li>
<li><p>Understand how to handle frame rates, sprite rendering, and events</p>
</li>
</ul>
<p>💡 Amazon Q CLI’s help was incredibly contextual and efficient. Unlike switching back and forth to a browser, I got answers where I coded — in my terminal.</p>
<hr />
<h2 id="heading-gameplay-demo">🎨 Gameplay Demo</h2>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1749209610435/5778924e-c376-4e2b-a710-1703138c0394.png" alt /></p>
<p>You start the game dodging falling blocks using arrow keys. As you progress, saviors appear that can increase lives — but some are fake. The background switches from day to night every 30 seconds, adding visual variety. If you lose all your lives, a game over screen fades in with cool emoji and your final score.</p>
<hr />
<h2 id="heading-repo-and-code">📦 Repo and Code</h2>
<ul>
<li><p>GitHub: <a target="_blank" href="https://github.com/parthibCodes/emojiDodge">parthibCodes/emojiDodge</a></p>
</li>
<li><p>Built with: Python + PyGame + Amazon Q CLI</p>
</li>
<li><p>Structure:</p>
<pre><code class="lang-python">  main.py
  assets/
  README.md
</code></pre>
</li>
</ul>
<hr />
<h2 id="heading-what-i-learned">🧪 What I Learned</h2>
<ul>
<li><p>💡 How powerful generative AI can be when integrated with terminal workflows</p>
</li>
<li><p>🧱 Better code structure using Amazon Q’s suggestions</p>
</li>
<li><p>🎮 Improved my understanding of game loops, state management, and PyGame’s surface system</p>
</li>
<li><p>🧑‍🎨 Gained confidence in combining creativity + code</p>
</li>
</ul>
<hr />
<h2 id="heading-get-involved">🔗 Get Involved</h2>
<p>You can try out the game by cloning the repo:</p>
<pre><code class="lang-python">clone https://github.com/parthibCodes/emojiDodge
cd emojiDodge
python main.py
</code></pre>
<p>Also, join the Amazon Q CLI challenge and build your own game using just prompts and innovation!</p>
<hr />
<h2 id="heading-final-step-amazonqcli">📢 Final Step: #AmazonQCLI</h2>
<p>This post is part of my entry to the <strong>#AmazonQCLI</strong> challenge. If you’re a developer looking to explore how AI can level up your productivity, I strongly recommend giving it a shot.</p>
<p>Let’s build the future of development — right from our terminals!</p>
<hr />
<h2 id="heading-connect-with-me">🧵 Connect with Me</h2>
<ul>
<li><p>🧑‍💻 GitHub: <a target="_blank" href="https://github.com/parthibCodes">@parthibCodes</a></p>
</li>
<li><p>💬 Reach out if you want to collaborate on cool tech + AI projects!</p>
</li>
</ul>
]]></content:encoded></item></channel></rss>