<?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: zekka</title>
    <description>The latest articles on DEV Community by zekka (@zekka02).</description>
    <link>https://dev.to/zekka02</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%2F3294510%2Fe568a4ce-2cb5-4b7e-a3d5-96c44bae6af7.png</url>
      <title>DEV Community: zekka</title>
      <link>https://dev.to/zekka02</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/zekka02"/>
    <language>en</language>
    <item>
      <title>Building Mandir Jumper: A Vertical Temple Climbing Game with Amazon Q CLI and Pygame</title>
      <dc:creator>zekka</dc:creator>
      <pubDate>Wed, 25 Jun 2025 17:36:28 +0000</pubDate>
      <link>https://dev.to/zekka02/building-mandir-jumper-a-vertical-temple-climbing-game-with-amazon-q-cli-and-pygame-2co8</link>
      <guid>https://dev.to/zekka02/building-mandir-jumper-a-vertical-temple-climbing-game-with-amazon-q-cli-and-pygame-2co8</guid>
      <description>&lt;p&gt;Hi, I’m Bishal, and I’m a total beginner to programming.&lt;/p&gt;

&lt;p&gt;A few weeks ago, I decided to challenge myself:&lt;br&gt;
Could I build a complete game with almost no coding experience?&lt;/p&gt;

&lt;p&gt;The answer turned out to be yes thanks to Amazon Q Developer CLI and Pygame, I built my first game:&lt;/p&gt;

&lt;p&gt;🎮 Mandir Jumper: A vertical scrolling action game inspired by Nepali culture&lt;br&gt;
This blog is a breakdown of how I built it, what I learned, and how you can do something similar.&lt;/p&gt;

&lt;p&gt;🎯 Game Overview&lt;br&gt;
Mandir Jumper is a portrait-mode, single-input climbing game where a Nepali warrior jumps between temple walls, dodges enemies, and collects culturally-inspired power-ups.&lt;/p&gt;

&lt;p&gt;✨ Key Features:&lt;br&gt;
Auto Climbing: The player continuously climbs upward.&lt;/p&gt;

&lt;p&gt;Wall Jumping: Press SPACE or click to switch walls.&lt;/p&gt;

&lt;p&gt;Enemies:&lt;/p&gt;

&lt;p&gt;Flying crows&lt;/p&gt;

&lt;p&gt;Spinning khukuris (traditional curved Nepali knives)&lt;/p&gt;

&lt;p&gt;Power-ups:&lt;/p&gt;

&lt;p&gt;Chiyaa (tea): Increases climb speed temporarily.&lt;/p&gt;

&lt;p&gt;Prayer Wheel: Grants temporary invincibility.&lt;/p&gt;

&lt;p&gt;Score System: Based on height climbed.&lt;/p&gt;

&lt;p&gt;Session Highscore: Tracks your best performance.&lt;/p&gt;

&lt;p&gt;Mobile-style layout: Portrait screen with 400x700 resolution.&lt;/p&gt;

&lt;p&gt;🧰 Tools I Used&lt;br&gt;
Tool    Purpose&lt;br&gt;
Amazon Q CLI    AI-powered code generation, debugging and design help&lt;br&gt;
Python 3.11 Main language&lt;br&gt;
Pygame  Game rendering and logic&lt;br&gt;
VS Code Coding and quick testing&lt;/p&gt;

&lt;p&gt;🛠️ How I Built It with Amazon Q CLI&lt;br&gt;
I started with a simple idea:&lt;/p&gt;

&lt;p&gt;"A game where a Nepali warrior jumps between temple walls and avoids obstacles."&lt;/p&gt;

&lt;p&gt;Using Amazon Q CLI, I broke the game into components:&lt;/p&gt;

&lt;p&gt;Player movement:&lt;br&gt;
I prompted:&lt;br&gt;
“Create a character that auto-climbs up and jumps left/right on spacebar press.”&lt;/p&gt;

&lt;p&gt;Enemies:&lt;br&gt;
I added crows and spinning khukuris that move horizontally across the screen.&lt;/p&gt;

&lt;p&gt;Power-ups:&lt;br&gt;
Prompted Q to add Chiyaa (speed boost) and Prayer Wheel (invincibility).&lt;/p&gt;

&lt;p&gt;Scoring system:&lt;br&gt;
Each time the player climbed higher, their score increased.&lt;/p&gt;

&lt;p&gt;Session-based highscore:&lt;br&gt;
Stored and reset after each game session.&lt;/p&gt;

&lt;p&gt;🧠 What I Struggled With (and Fixed with Prompts)&lt;br&gt;
As a beginner, plenty of things went wrong but with the right prompts, I fixed them step by step.&lt;/p&gt;

&lt;p&gt;😵 The game felt stuttery and laggy&lt;br&gt;
I didn’t know how to fix frame rate issues. A quick prompt to Q CLI:&lt;/p&gt;

&lt;p&gt;“Optimize the frame rate and game loop to run smoothly at 60 FPS”&lt;br&gt;
instantly made the game feel smooth and responsive.&lt;/p&gt;

&lt;p&gt;⚠️ White triangles kept flashing on the screen&lt;br&gt;
These random artifacts were distracting. I asked:&lt;/p&gt;

&lt;p&gt;“Remove all background elements that show white triangles or flashing shapes.”&lt;/p&gt;

&lt;p&gt;Gone in seconds.&lt;/p&gt;

&lt;p&gt;⛰️ Background image didn’t cover the screen&lt;br&gt;
There was a gap on the right side. Prompted Q to:&lt;/p&gt;

&lt;p&gt;“Scale the mountain background image to fully cover the screen width.”&lt;br&gt;
That fixed the layout issue.&lt;/p&gt;

&lt;p&gt;📦 Project Structure&lt;br&gt;
Here’s a basic overview of how the game is organized:&lt;/p&gt;

&lt;p&gt;mandir_jumper/&lt;br&gt;
├── mandir_jumper.py        # Main game file containing all logic&lt;br&gt;
├── requirements.txt        # Python dependencies (Pygame)&lt;br&gt;
├── README.md               # Game overview and instructions&lt;br&gt;
└── .bashrc                 # (Ignore — system/environment config)&lt;br&gt;
▶️ How to Play&lt;br&gt;
📥 Installation&lt;br&gt;
bash&lt;br&gt;
Copy&lt;br&gt;
Edit&lt;br&gt;
pip install pygame&lt;/p&gt;

&lt;h1&gt;
  
  
  or
&lt;/h1&gt;

&lt;p&gt;pip install -r requirements.txt&lt;br&gt;
🎮 Run the game&lt;br&gt;
bash&lt;br&gt;
Copy&lt;br&gt;
Edit&lt;br&gt;
python mandir_jumper.py&lt;br&gt;
🕹️ Controls&lt;br&gt;
Action  Input&lt;br&gt;
Jump walls  SPACE or Click&lt;br&gt;
Restart game    R&lt;/p&gt;

&lt;p&gt;🧘 Cultural Inspiration&lt;br&gt;
This game is a small tribute to my roots, here are a few elements I included:&lt;/p&gt;

&lt;p&gt;Mandir: Temple walls as the core climbing surfaces.&lt;/p&gt;

&lt;p&gt;Khukuri: Spinning knives, based on the traditional Gurkha blade.&lt;/p&gt;

&lt;p&gt;Chiyaa: Tea power-up because it fuels every Nepali household.&lt;/p&gt;

&lt;p&gt;Prayer Wheel: A symbol of protection and calm during chaotic climbs.&lt;/p&gt;

&lt;p&gt;🔮 What’s Next?&lt;br&gt;
I plan to keep working on Mandir Jumper and explore ideas like:&lt;/p&gt;

&lt;p&gt;New enemy types (temple guards, hawks)&lt;/p&gt;

&lt;p&gt;Extra power-ups (double jump, time slow)&lt;/p&gt;

&lt;p&gt;Animated backgrounds (clouds, prayer flags)&lt;/p&gt;

&lt;p&gt;Touch controls for mobile&lt;/p&gt;

&lt;p&gt;Sound FX and ambient temple sounds&lt;/p&gt;

&lt;p&gt;💡 Final Thoughts&lt;br&gt;
This was my first ever game, and I built it as someone with almost no coding background.&lt;br&gt;
Amazon Q CLI helped me go from vague idea to playable prototype, and helped me debug things I didn’t understand.&lt;/p&gt;

&lt;p&gt;If you're new to coding, trust me you can do this too.&lt;br&gt;
Describe your idea in plain words, and the tools will help you build the rest.&lt;/p&gt;

&lt;p&gt;🔗 Links&lt;br&gt;
Source code: &lt;a href="https://github.com/zekka02/Mandir-Jumper.git" rel="noopener noreferrer"&gt;https://github.com/zekka02/Mandir-Jumper.git&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Screenshots and gameplay: &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%2Fju79o1r7o1ql6jlw7muv.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%2Fju79o1r7o1ql6jlw7muv.png" alt="Image description" width="412" height="737"&gt;&lt;/a&gt;&lt;br&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%2Fqv2ijpahsgv3ucm6qbpg.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%2Fqv2ijpahsgv3ucm6qbpg.png" alt="Image description" width="416" height="736"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks for reading!&lt;br&gt;
If you enjoyed this or have feedback, feel free to drop a comment or reach out.&lt;br&gt;
And if you’re building something cool with Amazon Q I’d love to see it!&lt;/p&gt;

</description>
      <category>amazonqcli</category>
      <category>ai</category>
      <category>awschallenge</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
