<?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: dhiraj JDabhi</title>
    <description>The latest articles on DEV Community by dhiraj JDabhi (@dhiraj_jdabhi_e673d97e065).</description>
    <link>https://dev.to/dhiraj_jdabhi_e673d97e065</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%2F3239220%2F9bd54ce8-5d9b-4b3e-930c-5d79930adb58.jpg</url>
      <title>DEV Community: dhiraj JDabhi</title>
      <link>https://dev.to/dhiraj_jdabhi_e673d97e065</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dhiraj_jdabhi_e673d97e065"/>
    <language>en</language>
    <item>
      <title>How I Built a Game Using Amazon Q CLI</title>
      <dc:creator>dhiraj JDabhi</dc:creator>
      <pubDate>Mon, 02 Jun 2025 13:27:08 +0000</pubDate>
      <link>https://dev.to/dhiraj_jdabhi_e673d97e065/how-i-built-a-game-using-amazon-q-cli-j8d</link>
      <guid>https://dev.to/dhiraj_jdabhi_e673d97e065/how-i-built-a-game-using-amazon-q-cli-j8d</guid>
      <description>&lt;p&gt;🎮 My Game Using Amazon Q CLI&lt;br&gt;
Hi! I'm Dabhi Dhirajkumar, and I recently built a fun game using Amazon Q CLI. This was part of the Build Games with Amazon Q CLI&lt;/p&gt;

&lt;p&gt;🔧 Why I Chose This Project&lt;br&gt;
AWS challenge requirements&lt;br&gt;
Perfect complexity for testing Q CLI&lt;br&gt;
Pygame's simplicity for 2D games&lt;br&gt;
💡 Idea Behind the Game&lt;br&gt;
Describe what your game is about. For example:&lt;/p&gt;

&lt;p&gt;I created classic-mario-game. It's simple but fun!&lt;/p&gt;

&lt;p&gt;🔧 Tools I Used&lt;br&gt;
Amazon Q CLI&lt;br&gt;
GitHub&lt;br&gt;
Python&lt;/p&gt;

&lt;p&gt;I've created a classic Mario-style game for you using Python and Pygame! Here's what I've done:&lt;/p&gt;

&lt;p&gt;Installed the necessary dependencies (Pygame)&lt;br&gt;
Created a complete game with the following features: • Mario character that can move and jump • Platforms to jump on • Collectible coins • Enemies that move back and forth • Lives system and score tracking • Game over and win screens&lt;br&gt;
How to Play&lt;br&gt;
To run the game, navigate to the mario_game directory and execute the Python script:&lt;/p&gt;

&lt;p&gt;bash cd ~/mario_game ./mario.py&lt;/p&gt;

&lt;p&gt;Controls&lt;br&gt;
• Left/Right Arrow Keys: Move Mario left and right • Space or Up Arrow: Jump • R: Restart the game (after game over or winning) • Q: Quit the game (after game over or winning)&lt;/p&gt;

&lt;p&gt;Game Objective&lt;br&gt;
Collect all the coins while avoiding or defeating enemies by jumping on them. If you lose all three lives, the game is over.&lt;/p&gt;

&lt;p&gt;Game Features&lt;br&gt;
• Mario changes color based on direction (red when facing right, blue when facing left) • Platforms to jump on at different heights • Coins to collect for points • Enemies that move back and forth • You can defeat enemies by jumping on them • Game tracks your score and remaining lives • Win screen when all coins are collected • Game over screen when all lives are lost&lt;/p&gt;

&lt;p&gt;The game is simple but captures the core mechanics of classic Mario games. You can extend it by adding more levels, power-ups, or improving the graphics with sprite images instead of the simple shapes I've used.&lt;/p&gt;

&lt;p&gt;Enjoy playing your Mario game!&lt;/p&gt;

&lt;p&gt;💻 Code Repository&lt;br&gt;
I have shared the full game code here:&lt;/p&gt;

&lt;p&gt;GitHub Link to Your Game :- &lt;a href="https://github.com/Dabhi-Dhirajkumar/classic-mario-game.git" rel="noopener noreferrer"&gt;https://github.com/Dabhi-Dhirajkumar/classic-mario-game.git&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🙌 Final Thoughts&lt;br&gt;
I learned how to work with CLI tools, use Git, and deploy a game! Thanks to AWS for this experience.&lt;/p&gt;

&lt;p&gt;Features&lt;br&gt;
Clean Pygame implementation&lt;br&gt;
Responsive UI&lt;br&gt;
Win/loss detection logic&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
