<?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: Sheikh Ahmed Tauseef</title>
    <description>The latest articles on DEV Community by Sheikh Ahmed Tauseef (@sheikh_ahmedtauseef_0478).</description>
    <link>https://dev.to/sheikh_ahmedtauseef_0478</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%2F3255007%2F2745fbee-ad3a-40ba-914f-255077a19904.png</url>
      <title>DEV Community: Sheikh Ahmed Tauseef</title>
      <link>https://dev.to/sheikh_ahmedtauseef_0478</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sheikh_ahmedtauseef_0478"/>
    <language>en</language>
    <item>
      <title>Rock Paper Scissor with PyGame And Amazon Q CLI</title>
      <dc:creator>Sheikh Ahmed Tauseef</dc:creator>
      <pubDate>Tue, 10 Jun 2025 06:40:36 +0000</pubDate>
      <link>https://dev.to/sheikh_ahmedtauseef_0478/rock-paper-scissor-with-pygame-and-amazon-q-cli-fn7</link>
      <guid>https://dev.to/sheikh_ahmedtauseef_0478/rock-paper-scissor-with-pygame-and-amazon-q-cli-fn7</guid>
      <description>&lt;p&gt;In this blog post, I'll walk you through my journey of creating a fun Rock Paper Scissors game using Python and Pygame, with the assistance of Amazon Q CLI. I'll cover everything from setting up the development environment to implementing game mechanics and generating custom assets.&lt;/p&gt;

&lt;p&gt;🔧 Installing Amazon Q CLI on macOS&lt;br&gt;
Amazon Q CLI is a powerful tool that helped me throughout the development process. Here's how I installed it on my macOS:&lt;/p&gt;

&lt;p&gt;First install the AWS CLI using Homebrew:&lt;/p&gt;

&lt;p&gt;brew install awscli&lt;br&gt;
Then I configured my AWS credentials:&lt;/p&gt;

&lt;p&gt;aws configure&lt;br&gt;
Next, I installed the Amazon Q CLI:&lt;/p&gt;

&lt;p&gt;pip install amazon-q-cli&lt;br&gt;
After installation, I verified it was working:&lt;/p&gt;

&lt;p&gt;q --version&lt;br&gt;
I started using Amazon Q by running:&lt;/p&gt;

&lt;p&gt;q chat&lt;br&gt;
In the chat, I asked:&lt;/p&gt;

&lt;p&gt;Can you help me structure a Rock Paper Scissors game using Pygame?&lt;/p&gt;

&lt;p&gt;Amazon Q CLI became my coding companion, helping me generate code snippets, debug issues, and even create project documentation.&lt;/p&gt;

&lt;p&gt;🎮 Designing the Game Structure&lt;br&gt;
Based on Amazon Q's suggestions, I designed the game with three main states:&lt;/p&gt;

&lt;p&gt;Menu State: The main menu where players can start the game.&lt;br&gt;
Playing State: Where players select their move (Rock, Paper, or Scissors).&lt;br&gt;
Result State: Displaying the outcome and allowing players to play again.&lt;br&gt;
I created the main game file structure with Amazon Q's help:&lt;/p&gt;

&lt;p&gt;q chat&lt;br&gt;
I asked:&lt;/p&gt;

&lt;p&gt;Can you help me create a main.py file for my Rock Paper Scissors game with state management?&lt;/p&gt;

&lt;p&gt;🎯 Implementing Game Mechanics&lt;br&gt;
For the core game mechanics, I needed to implement:&lt;/p&gt;

&lt;p&gt;Player choice selection&lt;br&gt;
Computer random choice generation&lt;br&gt;
Winner determination logic&lt;br&gt;
🎁 Final Thoughts&lt;br&gt;
Building this Rock Paper Scissors game was a fun and educational experience.&lt;/p&gt;

&lt;p&gt;Amazon Q CLI significantly accelerated my development process by:&lt;/p&gt;

&lt;p&gt;Providing code snippets and structure&lt;br&gt;
Helping debug issues quickly&lt;br&gt;
Generating documentation&lt;br&gt;
Offering best practices and optimization tips&lt;br&gt;
The final game includes:&lt;/p&gt;

&lt;p&gt;An intuitive user interface&lt;br&gt;
Smooth animations and transitions&lt;br&gt;
Visual feedback with particle effects&lt;br&gt;
Custom-generated game assets&lt;br&gt;
Multiple game states for a complete experience&lt;br&gt;
If you're developing games or any software project, I highly recommend giving Amazon Q CLI a try. It's like having an expert developer by your side, ready to help whenever you need it.&lt;br&gt;
🕹️ To run the game yourself:&lt;/p&gt;

&lt;p&gt;git clone &lt;a href="https://https://github.com/heighterses/rock-paper-scissor-Q-CLI" rel="noopener noreferrer"&gt;https://https://github.com/heighterses/rock-paper-scissor-Q-CLI&lt;/a&gt;&lt;br&gt;
cd rock-paper-scissor-Q-CLI&lt;br&gt;
pip install pygame&lt;br&gt;
python main.py&lt;/p&gt;

&lt;p&gt;Enjoy playing Rock Paper Scissors! 🎮&lt;/p&gt;

</description>
      <category>python</category>
      <category>opensource</category>
      <category>aws</category>
      <category>awschallenge</category>
    </item>
  </channel>
</rss>
