<?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: yuma t</title>
    <description>The latest articles on DEV Community by yuma t (@yuma_t_431ef04c4ac53c3585).</description>
    <link>https://dev.to/yuma_t_431ef04c4ac53c3585</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%2F3836450%2F491a299f-8fa0-44ea-8e45-d3d53b9f0377.png</url>
      <title>DEV Community: yuma t</title>
      <link>https://dev.to/yuma_t_431ef04c4ac53c3585</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/yuma_t_431ef04c4ac53c3585"/>
    <language>en</language>
    <item>
      <title>I'm a backend engineer with zero game dev experience. I built a browser game anyway — it got 5,000+ views on Reddit in 2 days.</title>
      <dc:creator>yuma t</dc:creator>
      <pubDate>Sat, 21 Mar 2026 04:33:01 +0000</pubDate>
      <link>https://dev.to/yuma_t_431ef04c4ac53c3585/im-a-backend-engineer-with-zero-game-dev-experience-i-built-a-browser-game-anyway-it-got-5000-j8n</link>
      <guid>https://dev.to/yuma_t_431ef04c4ac53c3585/im-a-backend-engineer-with-zero-game-dev-experience-i-built-a-browser-game-anyway-it-got-5000-j8n</guid>
      <description>&lt;p&gt;First, just try it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ego Clicker&lt;/strong&gt; — a browser clicker game about growing your following as an influencer.&lt;/p&gt;

&lt;p&gt;🔗 Play: &lt;a href="https://egoclicker.com" rel="noopener noreferrer"&gt;https://egoclicker.com&lt;/a&gt;&lt;br&gt;
🔗 itch.io: &lt;a href="https://yuma-0501.itch.io/ego-clicker" rel="noopener noreferrer"&gt;https://yuma-0501.itch.io/ego-clicker&lt;/a&gt;&lt;/p&gt;



&lt;p&gt;48 hours after posting to Reddit, I opened Google Analytics and saw numbers I'd never seen before.&lt;/p&gt;

&lt;p&gt;I had almost zero game development experience. Never touched Unity. I'm a backend engineer who knows React and TypeScript — and I built a browser game without a game engine. Here's how it went.&lt;/p&gt;


&lt;h2&gt;
  
  
  1. Why I decided to build something
&lt;/h2&gt;

&lt;p&gt;There was a period where I was looking for side income.&lt;/p&gt;

&lt;p&gt;I work as a cloud and backend engineer, and I kept looking for ways to make money in my spare time. I explored freelance contracts, but nothing fit around my day job. Months passed.&lt;/p&gt;

&lt;p&gt;Then I decided: &lt;em&gt;just build something.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;I had options — a utility tool, a SaaS, a library. But in the end, I chose a game.&lt;/p&gt;


&lt;h2&gt;
  
  
  2. Why a browser game with no engine
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;My strength is building browser applications.&lt;/strong&gt; So why not build a game that runs entirely in the browser? No game engine to learn. React and TypeScript — tools I already knew.&lt;/p&gt;

&lt;p&gt;A clicker game made sense for the same reason. Small scope, high chance of actually finishing it. I also remembered pulling all-nighters with Cookie Clicker back in college.&lt;/p&gt;

&lt;p&gt;For the theme, I chose social media. I wanted to make a satirical game about the rise and fall of influencers — funny, but not quite. That's how &lt;strong&gt;Ego Clicker&lt;/strong&gt; was born.&lt;/p&gt;

&lt;p&gt;The core loop:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Post content → Gain followers → Earn likes → Buy items → Post better content
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  3. Tech stack
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="s"&gt;TypeScript 5.x&lt;/span&gt;
&lt;span class="s"&gt;React &lt;/span&gt;&lt;span class="m"&gt;19&lt;/span&gt;
&lt;span class="s"&gt;Vite&lt;/span&gt;
&lt;span class="s"&gt;Zustand (state management)&lt;/span&gt;
&lt;span class="s"&gt;break_infinity.js (large number calculation)&lt;/span&gt;
&lt;span class="s"&gt;CSS Modules + CSS Variables&lt;/span&gt;
&lt;span class="s"&gt;localStorage (save data)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The most notable choice is &lt;strong&gt;break_infinity.js&lt;/strong&gt;. Likes in the late game easily exceed &lt;code&gt;10^20&lt;/code&gt;. JavaScript's native &lt;code&gt;number&lt;/code&gt; loses precision at that scale, so a big number library was essential. It's the same library used by Cookie Clicker itself, and it handles numbers up to &lt;code&gt;10^(10^15)&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;For architecture, the key decision was &lt;strong&gt;complete separation of game logic from UI&lt;/strong&gt;. All pure functions live under &lt;code&gt;src/core/&lt;/code&gt;, and every 50ms, &lt;code&gt;applyTick()&lt;/code&gt; returns a diff that gets applied to the Zustand store. Decoupling the game loop from React's render cycle kept performance issues away.&lt;/p&gt;




&lt;h2&gt;
  
  
  4. Building with generative AI
&lt;/h2&gt;

&lt;p&gt;I don't think this game would have been finished without generative AI.&lt;/p&gt;

&lt;p&gt;"I want the screen to show noise during a flame war." "I want dissonant chords in the BGM when sanity drops low." — For ideas like these, being able to talk through the implementation with AI made a real difference.&lt;/p&gt;

&lt;p&gt;That said, &lt;strong&gt;AI speeds up writing code, but it doesn't speed up verifying it&lt;/strong&gt;. Code gets generated fast. But whether the game balance is actually fun, whether the UI feels intuitive — that still takes a human. I'd test on my phone during the commute, log issues as notes, then come home and fix things with AI. That cycle repeated over and over.&lt;/p&gt;




&lt;h2&gt;
  
  
  5. Where I got stuck as a backend engineer
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;The hardest part was game balance.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The core formula looks simple enough:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Likes/sec = PPS × Follower Multiplier × Upgrade Multiplier
Follower Multiplier = 1 + log10(followers) × 0.5
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;But 31 items and various upgrades all feed into this. Change a cost slightly and suddenly "early game feels impossible," "mid game is boring," or "late game is over in seconds." One number, completely different game.&lt;/p&gt;

&lt;p&gt;The other challenge was designing the item "descent into darkness." Items start out wholesome and gradually get grimmer:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Daily Posting Challenge
↓
Professional Photographer
↓
Fake Sub-accounts
↓
Budget Botnet
↓
Public Opinion Manipulation Farm
↓
Brain Chip Direct Broadcast
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Making this progression feel &lt;strong&gt;natural&lt;/strong&gt; — tuning the order and costs so each step feels like a believable slide — was honestly harder than writing any of the code.&lt;/p&gt;




&lt;h2&gt;
  
  
  6. Shipping and the response
&lt;/h2&gt;

&lt;p&gt;I shipped with 20–30 open issues. That was the moment I stopped waiting for perfect.&lt;/p&gt;

&lt;p&gt;The first thing I did after release was post to Reddit. I wrote a post in English and submitted it to r/incremental_games. Within 2 days, it had &lt;strong&gt;over 5,000 views&lt;/strong&gt;. Most of the traffic came from abroad — the US, UK, Canada, Germany, and Australia.&lt;/p&gt;

&lt;p&gt;That's when it hit me: building something and getting it to people are completely different skills.&lt;/p&gt;




&lt;h2&gt;
  
  
  7. Give it a try
&lt;/h2&gt;

&lt;p&gt;Random "viral moments" pop up as you play — tap them fast and you'll get a flood of likes. Get caught in a scandal and an apology minigame starts: 3 face-down cards, one good outcome, one okay, one that makes things worse. You won't know which is which until you flip it.&lt;/p&gt;

&lt;p&gt;Once your followers exceed the entire population of Earth, the game doesn't end. There's more.&lt;/p&gt;

&lt;p&gt;The prestige (rebrand) system is themed after HTTP status codes. You start at 200 OK. Then 404 Not Found. 403 Forbidden. Eventually 418 I'm a teapot.&lt;/p&gt;

&lt;p&gt;🔗 Play: &lt;a href="https://egoclicker.com" rel="noopener noreferrer"&gt;https://egoclicker.com&lt;/a&gt;&lt;br&gt;
🔗 itch.io: &lt;a href="https://yuma-0501.itch.io/ego-clicker" rel="noopener noreferrer"&gt;https://yuma-0501.itch.io/ego-clicker&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Feedback is very welcome — especially on balance and mid-game pacing. Still actively improving it.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>gamedev</category>
      <category>beginners</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
