<?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: Hanshu Thakur</title>
    <description>The latest articles on DEV Community by Hanshu Thakur (@hanshu_thakur).</description>
    <link>https://dev.to/hanshu_thakur</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%2F1769405%2Fc4c2801d-37a7-43c3-b28b-243ae2940703.png</url>
      <title>DEV Community: Hanshu Thakur</title>
      <link>https://dev.to/hanshu_thakur</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hanshu_thakur"/>
    <language>en</language>
    <item>
      <title>Simple Cloud Collector Game with Amazon Q</title>
      <dc:creator>Hanshu Thakur</dc:creator>
      <pubDate>Mon, 26 May 2025 17:01:04 +0000</pubDate>
      <link>https://dev.to/hanshu_thakur/simple-cloud-collector-game-with-amazon-q-3fme</link>
      <guid>https://dev.to/hanshu_thakur/simple-cloud-collector-game-with-amazon-q-3fme</guid>
      <description>&lt;p&gt;Introduction&lt;br&gt;
Ever wanted to build a simple yet engaging game that connects to real-world data? In this blog, I’ll walk through how I created Cloud Catcher—a lightweight browser-based game where players collect clouds generated from live weather data, all built using AWS services and guided by Amazon Q.&lt;/p&gt;

&lt;p&gt;Whether you're a beginner exploring AWS or a developer looking for a fun weekend project, this guide will show you how to combine serverless computing, real-time APIs, and AI assistance to make a unique gaming experience.&lt;/p&gt;

&lt;p&gt;Game Concept: How "Cloud Catcher" Works&lt;br&gt;
Player Goal: Control a hot air balloon (or any character) to collect floating clouds while avoiding obstacles like lightning and birds.&lt;/p&gt;

&lt;p&gt;Unique Hook: The clouds dynamically spawn based on real-time weather conditions from the player’s location (or a random city).&lt;/p&gt;

&lt;p&gt;Scoring: Each cloud collected earns points, with a global leaderboard tracking high scores.&lt;/p&gt;

&lt;p&gt;Demo Preview&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/Imagine%2520a%2520simple%25202D%2520game%2520with%2520a%2520balloon%2C%2520clouds%2C%2520and%2520a%2520score%2520counter." 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/Imagine%2520a%2520simple%25202D%2520game%2520with%2520a%2520balloon%2C%2520clouds%2C%2520and%2520a%2520score%2520counter." alt="Cloud Catcher Gameplay" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Tech Stack &amp;amp; AWS Services Used&lt;br&gt;
To build this, I leveraged Amazon Q for AI-powered guidance and AWS for the backend:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Frontend (AWS Amplify + HTML5/JS)
Hosting: Deployed a static React/JavaScript game using AWS Amplify (fast and serverless).&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Game Engine: Simple HTML5 Canvas for rendering.&lt;/p&gt;

&lt;p&gt;User Input: Keyboard controls (arrow keys or touch for mobile).&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Backend (AWS Lambda + DynamoDB)
Weather Data: Used AWS Lambda (Python/Node.js) to fetch live weather from:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;AWS Weather API (or free alternatives like OpenWeatherMap).&lt;/p&gt;

&lt;p&gt;Game Logic: Lambda processes weather data and sends cloud spawn rates to the frontend.&lt;/p&gt;

&lt;p&gt;Leaderboard: Stored high scores in DynamoDB (NoSQL, serverless).&lt;/p&gt;

&lt;p&gt;CHECK IT OUT: &lt;a href="https://github.com/hanshuthakur123/cloud-collector" rel="noopener noreferrer"&gt;https://github.com/hanshuthakur123/cloud-collector&lt;/a&gt;&lt;/p&gt;

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