<?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: akanksha3012</title>
    <description>The latest articles on DEV Community by akanksha3012 (@akanksha3012).</description>
    <link>https://dev.to/akanksha3012</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%2F670069%2F9f2b1000-3d82-4e3e-b740-b5154270b669.png</url>
      <title>DEV Community: akanksha3012</title>
      <link>https://dev.to/akanksha3012</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/akanksha3012"/>
    <language>en</language>
    <item>
      <title>Snake Game with Amazon Q CLI</title>
      <dc:creator>akanksha3012</dc:creator>
      <pubDate>Wed, 28 May 2025 16:08:19 +0000</pubDate>
      <link>https://dev.to/akanksha3012/snake-game-with-amazon-q-cli-3bee</link>
      <guid>https://dev.to/akanksha3012/snake-game-with-amazon-q-cli-3bee</guid>
      <description>&lt;p&gt;&lt;strong&gt;🚀 What if building a 🐍 Snake game was as easy as typing a sentence into your terminal?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That’s exactly what I did with Amazon Q Developer CLI — and it completely changed how I approach side projects 🤯.&lt;/p&gt;

&lt;p&gt;I created a colorful, classic Snake game in Python with a grid-based layout, food generation, a snake that changes colors every few seconds, score tracking, and a game-over screen with a restart option. All of it was generated and iterated on using nothing but conversational prompts. Here’s how I did it.&lt;/p&gt;

&lt;p&gt;To get started, I first installed WSL on my Windows machine and set up Ubuntu:&lt;br&gt;
&lt;code&gt;wsl --install -d Ubuntu&lt;/code&gt;&lt;br&gt;
 &lt;br&gt;
Then I launched Ubuntu:&lt;br&gt;
&lt;code&gt;wsl -d Ubuntu&lt;/code&gt;&lt;br&gt;
 &lt;br&gt;
Installed unzip:&lt;br&gt;
&lt;code&gt;sudo apt install unzip&lt;/code&gt;&lt;br&gt;
 &lt;br&gt;
Downloaded and installed Amazon Q Developer CLI:&lt;br&gt;
&lt;code&gt;curl --proto '=https' --tlsv1.2 -sSf https://desktop-release.codewhisperer.us-east-1.amazonaws.com/latest/q-x86_64-linux-musl.zip -o q.zip&lt;br&gt;
unzip q.zip&lt;br&gt;
cd q&lt;br&gt;
chmod +x install.sh&lt;br&gt;
./install.sh&lt;/code&gt;&lt;br&gt;
 &lt;br&gt;
Logged in using my AWS Builder ID:&lt;br&gt;
&lt;code&gt;q login&lt;/code&gt;&lt;br&gt;
 &lt;br&gt;
Once Q CLI was up and running, I asked it:&lt;br&gt;
 &lt;br&gt;
&lt;strong&gt;"Create a classic colorful snake game in Python using pygame. The game should have a grid, food, colorful snake, score, and end screen."&lt;/strong&gt;&lt;br&gt;
 &lt;br&gt;
The initial version of the game was generated instantly. Then, I enhanced it with a couple of simple follow-ups:&lt;br&gt;
 &lt;br&gt;
&lt;strong&gt;"Make the snake colorful with changing colors every few seconds."&lt;br&gt;
"Add a game over screen with a restart option."&lt;/strong&gt;&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%2F8z2fnpgkviq9v9j9mlty.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%2F8z2fnpgkviq9v9j9mlty.png" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;br&gt;
 &lt;br&gt;
Q understood the structure of the project and made precise, context-aware changes — no need to dig through the codebase or search for tutorials.&lt;br&gt;
 &lt;br&gt;
What really impressed me was how natural and intuitive the entire experience felt.&lt;br&gt;
You can check out the [here],(&lt;a href="https://github.com/akanksha3012/snake_game_QCLI" rel="noopener noreferrer"&gt;https://github.com/akanksha3012/snake_game_QCLI&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;Faster prototyping. Clear, readable code. Built-in error resolution. And best of all — no constant context-switching or documentation rabbit holes. Just a focused, fluid development experience.&lt;/p&gt;

&lt;p&gt;It made me think:&lt;br&gt;
&lt;strong&gt;1. What else could I build this way?&lt;br&gt;
2. What would it look like to integrate this with cloud services or multiplayer features?&lt;br&gt;
3. Can we turn the games built using Q CLI into mobile app?&lt;/strong&gt;&lt;br&gt;
 &lt;br&gt;
Amazon Q CLI isn’t just a tool — it’s a shift in how we can bring ideas to life faster and smarter.&lt;br&gt;
 &lt;br&gt;
Have you tried it yet? What other classic games could you reimagine using AI-assisted coding? &lt;/p&gt;

</description>
      <category>amazonqcli</category>
      <category>python</category>
      <category>gamedev</category>
    </item>
  </channel>
</rss>
