<?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: Anik2812</title>
    <description>The latest articles on DEV Community by Anik2812 (@anik2812).</description>
    <link>https://dev.to/anik2812</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%2F1870070%2F5822398c-9c62-4401-802a-3bde368273a6.png</url>
      <title>DEV Community: Anik2812</title>
      <link>https://dev.to/anik2812</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/anik2812"/>
    <language>en</language>
    <item>
      <title>I Built a Platformer That Gaslights You — Coins Steal, Spikes Heal, and The Exit Door Kills You 🫖</title>
      <dc:creator>Anik2812</dc:creator>
      <pubDate>Mon, 13 Apr 2026 04:20:44 +0000</pubDate>
      <link>https://dev.to/anik2812/i-built-a-platformer-that-gaslights-you-coins-steal-spikes-heal-and-the-exit-door-kills-you-2a5h</link>
      <guid>https://dev.to/anik2812/i-built-a-platformer-that-gaslights-you-coins-steal-spikes-heal-and-the-exit-door-kills-you-2a5h</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/aprilfools-2026"&gt;DEV April Fools Challenge&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;DEFINITELY NOT A TROLL GAME™&lt;/strong&gt; — a platformer that looks completely normal but systematically betrays every gaming instinct you've ever developed.&lt;/p&gt;

&lt;p&gt;Level 1 is honest. It teaches you the rules: collect coins, avoid spikes, reach the exit. You feel safe. You feel smart.&lt;/p&gt;

&lt;p&gt;Then Level 2 happens.&lt;/p&gt;

&lt;p&gt;Here's what you need to know:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Trust nothing.&lt;/strong&gt; Every rule established in Level 1 is a lie designed to hurt you later.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The game actively mocks you.&lt;/strong&gt; It features an integrated Gemini 2.0 Flash AI bot designed specifically to roast your gameplay decisions in real-time.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The settings menu is a trap.&lt;/strong&gt; The volume slider fights back. The "Uninstall" button refuses to work. The "Fun" toggle turns itself back on.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Even the quit button gaslights you.&lt;/strong&gt; Quitting requires multiple attempts, negotiations, and emotional manipulation.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The game has 10 levels of escalating betrayal, culminating in a final boss fight against... a "Next Level" button that refuses to be clicked.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The settings menu&lt;/strong&gt; has a "Difficulty" selector (does nothing), a volume slider that fights back and resets itself, a "Fun" toggle that re-enables itself when you turn it off, and an "Uninstall" button with 6 escalating refusals ("Error: Cannot uninstall. The game IS your computer now.")&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The quit button&lt;/strong&gt; requires 6 attempts. On the 6th try it says "Just kidding 😂" and force-resumes the game.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Your browser tab title&lt;/strong&gt; changes as you die:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;3 deaths: &lt;code&gt;💀 3 deaths... | TROLL GAME&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;20 deaths: &lt;code&gt;🚨 POLICE: Stop playing | TROLL GAME&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;40 deaths: &lt;code&gt;📞 Your mom called. She's worried.&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;50 deaths: &lt;code&gt;🏆 50 DEATHS. ARE YOU OK?&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;The FPS counter&lt;/strong&gt; cycles through: &lt;code&gt;420.69 FPS&lt;/code&gt;, &lt;code&gt;NaN FPS&lt;/code&gt;, &lt;code&gt;POTATO FPS&lt;/code&gt;, &lt;code&gt;FPS.exe crashed&lt;/code&gt;, &lt;code&gt;√-1 FPS&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The cookie banner&lt;/strong&gt; reads: &lt;em&gt;"We use cookies to track your failures and share them with absolutely everyone."&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://notatroll.netlify.app/" rel="noopener noreferrer"&gt;&lt;strong&gt;▶ Play DEFINITELY NOT A TROLL GAME™&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Runs entirely in the browser. HTML5 Canvas, vanilla JS, zero frameworks, zero build steps. Works on desktop and mobile (touch controls included, because suffering should be accessible).&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/Anik2812" rel="noopener noreferrer"&gt;
        Anik2812
      &lt;/a&gt; / &lt;a href="https://github.com/Anik2812/not-a-troll-game" rel="noopener noreferrer"&gt;
        not-a-troll-game
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;🫖 DEFINITELY NOT A TROLL GAME™&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;&lt;a rel="noopener noreferrer" href="https://private-user-images.githubusercontent.com/140063728/577166547-20223dca-ac06-48a4-9892-89e1276126ab.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzYxMDc4NjksIm5iZiI6MTc3NjEwNzU2OSwicGF0aCI6Ii8xNDAwNjM3MjgvNTc3MTY2NTQ3LTIwMjIzZGNhLWFjMDYtNDhhNC05ODkyLTg5ZTEyNzYxMjZhYi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwNDEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDQxM1QxOTEyNDlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jY2U0NjUzNmI1N2ZkZTU4YWQ0NjAwY2Y1YmJhYTVmOGVlMzgyYTllYjlkYjQxMjk4MTBiMTM1M2U5ZTA2ZDY3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.XEGPJFWEK7MJW3K2EBvY9RPen6rarfngkzCMQmbr4rY"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fprivate-user-images.githubusercontent.com%2F140063728%2F577166547-20223dca-ac06-48a4-9892-89e1276126ab.png%3Fjwt%3DeyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzYxMDc4NjksIm5iZiI6MTc3NjEwNzU2OSwicGF0aCI6Ii8xNDAwNjM3MjgvNTc3MTY2NTQ3LTIwMjIzZGNhLWFjMDYtNDhhNC05ODkyLTg5ZTEyNzYxMjZhYi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwNDEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDQxM1QxOTEyNDlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jY2U0NjUzNmI1N2ZkZTU4YWQ0NjAwY2Y1YmJhYTVmOGVlMzgyYTllYjlkYjQxMjk4MTBiMTM1M2U5ZTA2ZDY3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.XEGPJFWEK7MJW3K2EBvY9RPen6rarfngkzCMQmbr4rY" alt="cover_image_1776014280089"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;A perfectly normal platformer that systematically betrays every gaming instinct you've ever developed.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="https://notatroll.netlify.app/" rel="nofollow noopener noreferrer"&gt;🎮 PLAY THE GAME HERE&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;🛑 What is this?&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;This is a brutalist-themed, web-based platformer built for the &lt;a href="https://dev.to/challenges/aprilfools-2026" rel="nofollow"&gt;DEV April Fools Challenge&lt;/a&gt;. It is designed to gaslight the player through deceptive mechanics and a sarcastic AI assistant.&lt;/p&gt;
&lt;p&gt;Nothing is as it seems. Level 1 trains you to trust the rules. Level 2 and beyond actively punish you for learning them.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;Features&lt;/h3&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;10 Levels of Escalating Betrayal:&lt;/strong&gt; Play across levels where coins steal your points, spikes heal you, exit doors kill you, and safe platforms collapse.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;"HELPFUL ASSISTANT™" AI:&lt;/strong&gt; An integrated &lt;strong&gt;Gemini 2.0 Flash&lt;/strong&gt; chatbot that actively roasts your failures in real-time based on your current death count, mistakes, and score.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Graceful Degradation:&lt;/strong&gt; If the API fails or rate limits, the game falls back to a massive dictionary of handcrafted roasts…&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/Anik2812/not-a-troll-game" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;&lt;strong&gt;5 files. No frameworks. No dependencies. Pure, artisanal disappointment:&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;File&lt;/th&gt;
&lt;th&gt;Lines&lt;/th&gt;
&lt;th&gt;What it does&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;index.html&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;~300&lt;/td&gt;
&lt;td&gt;Structural skeleton with all overlays and modals&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;style.css&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;~525&lt;/td&gt;
&lt;td&gt;Brutalist design system, glitch effects, scanlines&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;game.js&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;~1070&lt;/td&gt;
&lt;td&gt;Full canvas engine: physics, collision, particles&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;levels.js&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;~355&lt;/td&gt;
&lt;td&gt;10 handcrafted levels of escalating betrayal&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;app.js&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;~920&lt;/td&gt;
&lt;td&gt;AI chatbot, Konami code, achievements, chaos&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;h3&gt;
  
  
  The Stack
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;HTML5 Canvas&lt;/strong&gt; — Custom 2D game engine with tile-based collision, coyote time (8-frame jump buffer), particle systems, and screen shake&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vanilla CSS&lt;/strong&gt; — Brutalist design tokens, noise overlays, scanline effects, periodic glitch text animations via CSS &lt;code&gt;clip-path&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vanilla JS&lt;/strong&gt; — Zero dependencies. Everything runs inside a single IIFE&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Google Gemini 2.0 Flash&lt;/strong&gt; — Powers the in-game AI chatbot AND generates personalized victory reviews&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Web Audio API&lt;/strong&gt; — Procedurally generated sound effects (oscillator-based — every jump, coin, death, and level complete is synthesized in real time)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Built with Google Antigravity&lt;/strong&gt; — The AI coding assistant that helped architect the game engine, design the troll mechanics, and debug the collision detection&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  The AI Integration
&lt;/h3&gt;

&lt;p&gt;The game features a &lt;strong&gt;"HELPFUL ASSISTANT™"&lt;/strong&gt; — a chatbot powered by &lt;strong&gt;Google Gemini 2.0 Flash&lt;/strong&gt; with deep game-state awareness.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How it works:&lt;/strong&gt; The system prompt tells Gemini to act like &lt;em&gt;"a bored IT support worker who secretly hates their job but drops weirdly poetic one-liners about existential suffering."&lt;/em&gt; It receives your exact death count, current level, score, and recent game events (died to spikes, collected trap coin, walked into fake door) as context, then generates unique roasts.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key design decisions:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Non-repeating responses:&lt;/strong&gt; A &lt;code&gt;Set&lt;/code&gt;-based tracker ensures the AI never says the same thing twice in a session. The system prompt itself includes recently-used responses and explicitly instructs Gemini to avoid them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keyword matching with fallback:&lt;/strong&gt; 25+ keyword categories (coins, spikes, doors, exit, coffee, teapot, etc.) each have 3-5 unique responses with their own non-repeat tracking. If the API is rate-limited, these fire as graceful fallbacks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fisher-Yates shuffle bags&lt;/strong&gt; for death messages — the 26 death messages and 8 sub-messages are shuffled like a deck of cards, guaranteeing you see every message before any repeats.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Rate-limiting aware:&lt;/strong&gt; 5-second cooldown between API calls with exponential backoff on 429 errors. The game never breaks if the API is down.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Gemini also generates a "Performance Review"&lt;/strong&gt; on the victory screen — a sarcastic AI-written summary of your entire playthrough:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"Ah yes, 47 deaths. That's not a playthrough, that's a documentary about perseverance. Score: functionally irrelevant. Rating: 3/10, and 2 of those points are for not uninstalling. — Management"&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Easter Eggs
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Konami Code&lt;/strong&gt; (↑↑↓↓←→←→BA) triggers a full-screen &lt;strong&gt;HTTP 418: I'm a Teapot&lt;/strong&gt; experience with RFC 2324 references, HTCPCP protocol headers, and animated CSS&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Clicking the "4.9★ Rating"&lt;/strong&gt; on the menu — also triggers 418&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The AI chatbot&lt;/strong&gt;: mention coffee, tea, latte, espresso, or brew → "Error 418: I'm a teapot. Per RFC 2324."&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Death #25&lt;/strong&gt; displays: "🫖 The teapot weeps for you. Error 418."&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The favicon&lt;/strong&gt; is literally a teapot emoji: 🫖&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The FPS counter&lt;/strong&gt; includes &lt;code&gt;418 FPS&lt;/code&gt; in its rotation&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  ⚠️ SPOILER WARNING: The Mechanics (For the Judges)
&lt;/h3&gt;

&lt;p&gt;&lt;em&gt;If you are judging the code and don't want to suffer through 10 levels to see the joke, here's what the engine actually does under the hood:&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;💰 &lt;strong&gt;Coins steal your points&lt;/strong&gt; — half the coins are traps that deal damage AND subtract 100 points.&lt;/li&gt;
&lt;li&gt;🔺 &lt;strong&gt;Spikes heal you&lt;/strong&gt; — the pointy death triangles restore health. The signs say "AVOID SPIKES!" They're lying.&lt;/li&gt;
&lt;li&gt;❤️ &lt;strong&gt;Health packs damage you&lt;/strong&gt; — the heart-shaped pickups are weapons of mass betrayal.&lt;/li&gt;
&lt;li&gt;🚪 &lt;strong&gt;Exit doors kill you&lt;/strong&gt; — 3 out of 4 doors are instant death. The signs explicitly point you to the wrong ones.&lt;/li&gt;
&lt;li&gt;✅ &lt;strong&gt;"SAFE" platforms collapse&lt;/strong&gt; — ISO-9001 Certified for disappointment.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Level 5 is "Opposite Day"&lt;/strong&gt; — literally nothing means what it says.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Level 7 is a carbon copy of Level 1&lt;/strong&gt; but with everything inverted. The sign says "Relax. It's Level 1 again." It's not.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Prize Category
&lt;/h2&gt;

&lt;h3&gt;
  
  
  🏆 Best Google AI Usage
&lt;/h3&gt;

&lt;p&gt;Google Gemini 2.0 Flash is deeply embedded in the gameplay — not as a gimmick, but as a core mechanic:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Context-aware AI companion&lt;/strong&gt; that ingests real-time game state (deaths, level, score, recent events) and generates unique, non-repeating roasts&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI-generated victory reviews&lt;/strong&gt; — personalized sarcastic "performance evaluations" created by Gemini at the end of each playthrough&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Graceful degradation&lt;/strong&gt; — the game works perfectly without the API via keyword-matched fallback responses, so judges always have a working experience&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Built entirely using Google Antigravity&lt;/strong&gt; — the AI coding agent that helped architect the engine, write the troll dialogue system, and debug the final button's fleeing behavior&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The intersection of "world-class AI" and "deliberately terrible software" is the joke. We used the best tools available to build something that provides zero value. Technology.&lt;/p&gt;

&lt;h3&gt;
  
  
  🫖 Best Ode to Larry Masinter
&lt;/h3&gt;

&lt;p&gt;This game is a love letter to RFC 2324 and HTTP 418:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The Konami Code&lt;/strong&gt; triggers a theatrical 418 screen with RFC citation, HTCPCP protocol headers, &lt;code&gt;X-Larry-Masinter: Legend&lt;/code&gt;, and the classic nursery rhyme ("The requested entity body is short and stout / Tip me over and pour me out")&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;3 discovery paths&lt;/strong&gt; to the teapot: Konami code, clicking the rating, and a hidden tile in Level 1&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The AI chatbot&lt;/strong&gt; responds to ANY coffee/tea reference with RFC-accurate 418 errors&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Death milestone #25&lt;/strong&gt; references the teapot&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The credits&lt;/strong&gt; include a dedication: &lt;em&gt;"Larry Masinter — RFC 2324 (1998) — HTTP 418: I'm a teapot 🫖"&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The favicon&lt;/strong&gt; is a teapot&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The FPS counter&lt;/strong&gt; shows &lt;code&gt;418 FPS&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Larry Masinter gave the internet its most important error code. This game gives the internet its most important platformer. Neither serves any practical purpose. That's the point.&lt;/p&gt;

&lt;h3&gt;
  
  
  🎭 Community Favorite
&lt;/h3&gt;

&lt;p&gt;The game is designed to generate stories. The tab title changes. The AI roasts you personally. The cookie banner steals your dignity. The quit button fights you. And the "Share Your Shame" button on the victory screen copies your stats to clipboard in a pre-formatted post:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"🏆 I just beat DEFINITELY NOT A TROLL GAME™ with 47 deaths and a score of -200. The coins robbed me. The spikes healed me. The doors killed me. The button ran away. I have trust issues now."&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Between the rotating fake reviews on the menu ("I didn't know I could be gaslit by a platformer" — @trust_issues_69), adaptive death messages that never repeat, and a settings menu where the Fun toggle refuses to turn off... I think this might be the game that makes people screenshot and share.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Built with spite, caffeine, and Google Antigravity. No teapots were harmed in the making of this software. Several keyboards were.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Dedicated to Larry Masinter, who in 1998 wrote an April Fools RFC that became a permanent part of the internet. We should all be so lucky.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>418challenge</category>
      <category>showdev</category>
    </item>
    <item>
      <title>Code Alchemist CLI: Transforming Code with Magic</title>
      <dc:creator>Anik2812</dc:creator>
      <pubDate>Mon, 12 May 2025 06:57:53 +0000</pubDate>
      <link>https://dev.to/anik2812/code-alchemist-1bka</link>
      <guid>https://dev.to/anik2812/code-alchemist-1bka</guid>
      <description>&lt;h2&gt;
  
  
  &lt;strong&gt;This is a submission for the &lt;a href="https://dev.to/challenges/aws-amazon-q-v2025-04-30"&gt;Amazon Q Developer "Quack The Code" Challenge&lt;/a&gt;: Crushing the Command Line&lt;/strong&gt;
&lt;/h2&gt;

&lt;h2&gt;
  
  
  🚀 What I Built
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Code Alchemist CLI&lt;/strong&gt; is a powerful, elegant command-line tool crafted to automate common code improvement tasks across multiple programming languages. As a student passionate about writing clean, maintainable code, I built this tool to simplify the repetitive parts of development and make code enhancement more accessible.&lt;/p&gt;

&lt;p&gt;Whether you're diving into legacy scripts or kicking off a new project, Code Alchemist CLI boosts your productivity by offering:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🧠 &lt;strong&gt;Code Analysis&lt;/strong&gt; – Quickly inspects structure across multiple languages, including:

&lt;ul&gt;
&lt;li&gt;Python, JavaScript, Java&lt;/li&gt;
&lt;li&gt;C/C++, HTML/CSS&lt;/li&gt;
&lt;li&gt;Go, Ruby, Rust&lt;/li&gt;
&lt;li&gt;TypeScript, PHP, Swift&lt;/li&gt;
&lt;li&gt;And many more text-based file types!&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;📝 &lt;strong&gt;Auto-Generated Docstrings&lt;/strong&gt; – Instantly creates clean, readable documentation for your code.&lt;/li&gt;

&lt;li&gt;🔄 &lt;strong&gt;Refactoring Assistance&lt;/strong&gt; – Transforms unoptimized code into more efficient and readable forms.&lt;/li&gt;

&lt;li&gt;✂️ &lt;strong&gt;Import &amp;amp; Code Optimization&lt;/strong&gt; – Cleans up unused imports and cluttered comments.&lt;/li&gt;

&lt;li&gt;🪄 &lt;strong&gt;Multi-Language Support&lt;/strong&gt; – Works seamlessly with 20+ file types and programming languages.&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;It's a perfect companion for developers, students, and small teams seeking to improve code hygiene and maintainability without depending on heavy IDEs or paid extensions.&lt;/p&gt;




&lt;h3&gt;
  
  
  📦 Code Repository &amp;amp; Setup
&lt;/h3&gt;

&lt;p&gt;🔗 &lt;a href="https://github.com/Anik2812/Code-Alchemist" rel="noopener noreferrer"&gt;https://github.com/Anik2812/Code-Alchemist&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Quick Start Guide:
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Clone the repository&lt;/span&gt;
git clone https://github.com/Anik2812/Code-Alchemist.git

&lt;span class="c"&gt;# Navigate to the project directory&lt;/span&gt;
&lt;span class="nb"&gt;cd &lt;/span&gt;Code-Alchemist

&lt;span class="c"&gt;# Make the setup script executable&lt;/span&gt;
&lt;span class="nb"&gt;chmod&lt;/span&gt; +x ./setup.sh

&lt;span class="c"&gt;# Run the setup script&lt;/span&gt;
./setup.sh
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  🖥️ Demo
&lt;/h2&gt;

&lt;p&gt;🧪 Try the demo to preview changes without writing them:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;./demo.sh
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  📽️ Comprehensive CLI Commands
&lt;/h2&gt;

&lt;p&gt;Here's how easy it is to use Code Alchemist CLI:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Analyze a file&lt;/span&gt;
./code_alchemist.py analyze filename

&lt;span class="c"&gt;# Refactor a file&lt;/span&gt;
./code_alchemist.py refactor filename

&lt;span class="c"&gt;# Generate documentation for the file&lt;/span&gt;
./code_alchemist.py document filename

&lt;span class="c"&gt;# Suggest performance and security improvements&lt;/span&gt;
./code_alchemist.py optimize filename

&lt;span class="c"&gt;# Generate project dashboard&lt;/span&gt;
./code_alchemist.py dashboard filename

&lt;span class="c"&gt;# Setup project structure and config files&lt;/span&gt;
./code_alchemist.py setup filename

&lt;span class="c"&gt;# Run all transformations at once&lt;/span&gt;
./code_alchemist.py transmute filename
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  💻 Using Code Alchemist in Different Environments
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Windows Subsystem for Linux (WSL) Support
&lt;/h3&gt;

&lt;p&gt;If you're using Windows Subsystem for Linux, you can easily access files from your Windows drives:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Access files in Windows drives&lt;/span&gt;
&lt;span class="nb"&gt;cd&lt;/span&gt; &lt;span class="s2"&gt;"/mnt/(drive name)/path to the file"&lt;/span&gt;
&lt;span class="c"&gt;# or&lt;/span&gt;
&lt;span class="nb"&gt;cd&lt;/span&gt; &lt;span class="s2"&gt;"/mnt/c/Users/YourUsername/Documents/YourProject"&lt;/span&gt;
&lt;span class="c"&gt;# or&lt;/span&gt;
&lt;span class="nb"&gt;cd&lt;/span&gt; &lt;span class="s2"&gt;"/mnt/d/Development/YourProject"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Pro Tips for WSL Users:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Use &lt;code&gt;/mnt/&lt;/code&gt; prefix to access Windows drives&lt;/li&gt;
&lt;li&gt;Common drive mappings:

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;/mnt/c/&lt;/code&gt; for C: drive&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;/mnt/d/&lt;/code&gt; for D: drive&lt;/li&gt;
&lt;li&gt;And so on...&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;Ensure you have the correct permissions to access the directory&lt;/li&gt;

&lt;/ul&gt;

&lt;h3&gt;
  
  
  Cross-Platform Compatibility
&lt;/h3&gt;

&lt;p&gt;Code Alchemist is designed to work seamlessly across:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Linux&lt;/li&gt;
&lt;li&gt;macOS&lt;/li&gt;
&lt;li&gt;Windows (via WSL)&lt;/li&gt;
&lt;li&gt;Windows Git Bash&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🎥 Video Demonstration
&lt;/h2&gt;

&lt;p&gt;🔗 &lt;a href="https://drive.google.com/file/d/1qy2NFXaFZxcQgEm-0sgKu6jhSaSi-Oxo/view?usp=sharing" rel="noopener noreferrer"&gt;Watch Full Demo Video&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Supported Languages and File Types
&lt;/h3&gt;

&lt;p&gt;Code Alchemist supports a wide range of languages and file types:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Programming Languages:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Python&lt;/li&gt;
&lt;li&gt;JavaScript&lt;/li&gt;
&lt;li&gt;Java&lt;/li&gt;
&lt;li&gt;C/C++&lt;/li&gt;
&lt;li&gt;Go&lt;/li&gt;
&lt;li&gt;Ruby&lt;/li&gt;
&lt;li&gt;Rust&lt;/li&gt;
&lt;li&gt;TypeScript&lt;/li&gt;
&lt;li&gt;PHP&lt;/li&gt;
&lt;li&gt;Swift&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;

&lt;p&gt;Configuration and Markup:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Markdown&lt;/li&gt;
&lt;li&gt;JSON&lt;/li&gt;
&lt;li&gt;XML&lt;/li&gt;
&lt;li&gt;YAML&lt;/li&gt;
&lt;li&gt;INI&lt;/li&gt;
&lt;li&gt;HTML&lt;/li&gt;
&lt;li&gt;CSS&lt;/li&gt;
&lt;li&gt;Shell Scripts&lt;/li&gt;
&lt;li&gt;Batch/PowerShell Scripts&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;

&lt;p&gt;Other Text-Based Files:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Configuration files&lt;/li&gt;
&lt;li&gt;Plain text files&lt;/li&gt;
&lt;li&gt;And more!&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;h3&gt;
  
  
  Screenshots
&lt;/h3&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%2F5wbg0fuozhglm4tviezu.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%2F5wbg0fuozhglm4tviezu.png" alt="Code Analysis Structure" width="800" height="532"&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%2Fit9gu82gy5z197necrc6.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%2Fit9gu82gy5z197necrc6.png" alt="Project Overview" width="800" height="430"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Analyze structure in a single command.&lt;/em&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%2F13ybenoxlcmg2mqlgjnb.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%2F13ybenoxlcmg2mqlgjnb.png" alt="Additional Screenshot 1" width="800" height="621"&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%2Fl1g7s8h5elq8w5l8bmto.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%2Fl1g7s8h5elq8w5l8bmto.png" alt="Additional Screenshot 2" width="800" height="532"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  🤖 How I Used Amazon Q Developer
&lt;/h2&gt;

&lt;p&gt;Throughout the development of Code Alchemist CLI, &lt;strong&gt;Amazon Q Developer&lt;/strong&gt; was like a coding partner—always available to support, debug, and refine my ideas. Here's how I integrated Q Developer into my process:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🧩 &lt;strong&gt;Modular Planning&lt;/strong&gt;: Used Q Developer to brainstorm clean function breakdowns and organize the CLI structure using &lt;code&gt;argparse&lt;/code&gt;, &lt;code&gt;os&lt;/code&gt;, and &lt;code&gt;pathlib&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;🛠️ &lt;strong&gt;Refactoring &amp;amp; Docstrings&lt;/strong&gt;: Q Developer assisted in creating generalized logic for code transformation and accurate docstring generation, handling edge cases gracefully.&lt;/li&gt;
&lt;li&gt;🧪 &lt;strong&gt;Debugging&lt;/strong&gt;: It provided quick, reliable solutions for path resolution issues, encoding errors, and text parsing bugs.&lt;/li&gt;
&lt;li&gt;📚 &lt;strong&gt;Documentation&lt;/strong&gt;: Helped polish project documentation, CLI help text, and inline comments for better readability and professionalism.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Thanks to Q Developer, I could focus more on logic and user experience rather than getting stuck on syntax or structure.
&lt;/h2&gt;

&lt;h2&gt;
  
  
  🙋‍♂️ Solo Submission
&lt;/h2&gt;

</description>
      <category>devchallenge</category>
      <category>awschallenge</category>
      <category>ai</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
