<?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>Forem: Nandish Sinha</title>
    <description>The latest articles on Forem by Nandish Sinha (@nandish_sinha_cd0b92c8d8f).</description>
    <link>https://forem.com/nandish_sinha_cd0b92c8d8f</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%2F3207266%2F29e61dd1-748b-4794-8288-c0482bc60ac9.jpeg</url>
      <title>Forem: Nandish Sinha</title>
      <link>https://forem.com/nandish_sinha_cd0b92c8d8f</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/nandish_sinha_cd0b92c8d8f"/>
    <language>en</language>
    <item>
      <title>Building a Simple Arcade Game with Amazon Q CLI</title>
      <dc:creator>Nandish Sinha</dc:creator>
      <pubDate>Mon, 26 May 2025 10:46:34 +0000</pubDate>
      <link>https://forem.com/nandish_sinha_cd0b92c8d8f/building-a-simple-arcade-game-with-amazon-q-cli-3hh</link>
      <guid>https://forem.com/nandish_sinha_cd0b92c8d8f/building-a-simple-arcade-game-with-amazon-q-cli-3hh</guid>
      <description>&lt;p&gt;Recently, I built a classic arcade-style game called Road Runner using PyGame, but this time, I wanted to try something new—using Amazon Q CLI to assist in the process.&lt;/p&gt;

&lt;p&gt;What is Amazon Q CLI?&lt;br&gt;
Amazon Q CLI is a powerful terminal-based AI assistant that lets you generate, edit, and debug code right from your terminal. It provides inline suggestions, file editing with /editor, fuzzy search, and so much more—perfect for developers who like staying in the terminal.&lt;/p&gt;

&lt;p&gt;My Experience&lt;br&gt;
I used Amazon Q CLI to:&lt;/p&gt;

&lt;p&gt;Generate initial game logic&lt;/p&gt;

&lt;p&gt;Debug issues in real-time&lt;/p&gt;

&lt;p&gt;Refactor sections of the code&lt;/p&gt;

&lt;p&gt;Create assets using ASCII placeholders and ideas&lt;/p&gt;

&lt;p&gt;Why This Matters&lt;br&gt;
This small game is a proof of concept that shows how CLI-based AI tools can streamline even game development workflows. It's not just for APIs or backend work—Amazon Q CLI handled creative, logical, and structural tasks with ease.&lt;/p&gt;

&lt;p&gt;Repo&lt;br&gt;
Check it out here: &lt;a href="https://github.com/NandishSinha1403/road-runner-game" rel="noopener noreferrer"&gt;https://github.com/NandishSinha1403/road-runner-game&lt;/a&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%2Fga124yws13pazkig98nq.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%2Fga124yws13pazkig98nq.png" alt="A simple 2D racing game titled " width="800" height="587"&gt;&lt;/a&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%2Fxblrcg3w0y8v22igfn7p.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%2Fxblrcg3w0y8v22igfn7p.png" alt="A terminal screenshot showing the Amazon Q CLI interface.A great tool in my experience for code. Below it, there's a message suggesting the use of  raw `/editor` endraw  for a Vim-like prompt editing experience. Helpful shortcuts like  raw `/help` endraw ,  raw `ctrl + j` endraw , and  raw `ctrl + s` endraw  are also listed.&amp;lt;br&amp;gt;
" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>amazonqcli</category>
      <category>pygame</category>
      <category>python</category>
    </item>
    <item>
      <title>Road Runner – A Python Game Built with Amazon Q CLI</title>
      <dc:creator>Nandish Sinha</dc:creator>
      <pubDate>Sun, 25 May 2025 20:11:49 +0000</pubDate>
      <link>https://forem.com/nandish_sinha_cd0b92c8d8f/road-runner-a-python-game-built-with-amazon-q-cli-172e</link>
      <guid>https://forem.com/nandish_sinha_cd0b92c8d8f/road-runner-a-python-game-built-with-amazon-q-cli-172e</guid>
      <description>&lt;p&gt;Road Runner – A Python Game Built with Amazon Q CLI&lt;/p&gt;

&lt;p&gt;In just under an hour, I built a Python game called "Road Runner" with the help of Amazon Q CLI and the PyGame library.&lt;/p&gt;

&lt;p&gt;Game Overview&lt;/p&gt;

&lt;p&gt;"Road Runner" is a fast-paced arcade-style game where you dodge oncoming traffic by switching lanes and try to survive as long as possible.&lt;/p&gt;

&lt;p&gt;Game Features&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Scrolling road and lane dividers&lt;/li&gt;
&lt;li&gt;Red player car controlled with arrow keys&lt;/li&gt;
&lt;li&gt;Random obstacles like cars and bikes&lt;/li&gt;
&lt;li&gt;Collision detection and score system&lt;/li&gt;
&lt;li&gt;Game over and restart flow&lt;/li&gt;
&lt;li&gt;Increasing difficulty as you progress&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;How Amazon Q CLI Helped&lt;/p&gt;

&lt;p&gt;Amazon Q CLI was instrumental in speeding up the process. I could just describe what I wanted, and it helped generate the necessary code, including:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Game loop structure&lt;/li&gt;
&lt;li&gt;Classes for the player, background, and obstacles&lt;/li&gt;
&lt;li&gt;Movement and collision logic&lt;/li&gt;
&lt;li&gt;Visual polish like headlights and taillights&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Final Thoughts&lt;/p&gt;

&lt;p&gt;I didn’t expect to build a full game so quickly, but Amazon Q CLI made it feel effortless. It handled the boilerplate, while I focused on making the gameplay feel smooth and engaging.&lt;/p&gt;

</description>
      <category>python</category>
      <category>pygame</category>
      <category>amazonqcli</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
