<?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: Before AI</title>
    <description>The latest articles on DEV Community by Before AI (@before_ai).</description>
    <link>https://dev.to/before_ai</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4227283%2F94261cc6-781f-4d8c-ae26-2f1928b7617a.png</url>
      <title>DEV Community: Before AI</title>
      <link>https://dev.to/before_ai</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/before_ai"/>
    <language>en</language>
    <item>
      <title>I built a game about coding before AI (and it was painful on purpose)</title>
      <dc:creator>Before AI</dc:creator>
      <pubDate>Wed, 04 Nov 2026 23:09:15 +0000</pubDate>
      <link>https://dev.to/before_ai/i-built-a-game-about-coding-before-ai-and-it-was-painful-on-purpose-372g</link>
      <guid>https://dev.to/before_ai/i-built-a-game-about-coding-before-ai-and-it-was-painful-on-purpose-372g</guid>
      <description>&lt;p&gt;It's 2019. There is no AI.&lt;/p&gt;

&lt;p&gt;You get a ticket: "Center the signup modal. It must work in IE11."&lt;/p&gt;

&lt;p&gt;You have a search engine, a Q&amp;amp;A site called StackUnderflow, and copy-paste. Every search, every tab, and every build costs in-game minutes. Your coworkers ping you. Your lead calls a standup. How long does your shift take?&lt;/p&gt;

&lt;p&gt;That's beforeai.dev, a small browser game I shipped this week. It's free, needs no signup, and takes about 5 minutes to play.&lt;/p&gt;

&lt;p&gt;🎮 How it plays&lt;br&gt;
Search: Tappable query chips (or type directly on desktop).&lt;/p&gt;

&lt;p&gt;Open answers: Some are closed as duplicate. Some are from 2011. One suggests a jQuery plugin.&lt;/p&gt;

&lt;p&gt;Copy, then "Paste + build": Builds take ~4 minutes. Wrong answers fail with very specific 2019 pain: place-items isn't supported in IE11, the cookie disappears because of Access-Control-Allow-Origin: *, or this is undefined in a class component.&lt;/p&gt;

&lt;p&gt;Chat pings: "can u review my PR? it's small (2,400 lines)". Help now and lose 15 minutes, or hit "after lunch".&lt;/p&gt;

&lt;p&gt;Nobody gets stuck: After 2 failed builds, a senior dev DMs you the right link.&lt;/p&gt;

&lt;p&gt;A shift is 3 tickets. At the end, you get your total time, a rank ("Junior Tab Hoarder", "Senior Copy-Paste Engineer"), and a share card.&lt;/p&gt;

&lt;p&gt;🛠️ How it's built&lt;br&gt;
Next.js static export: The game is entirely client-side—a fake browser, a fake editor, and a ticket panel. No heavy game engine, just React and a small Zustand store. Levels are plain TypeScript data files, so adding a new ticket is just creating a new file.&lt;/p&gt;

&lt;p&gt;Cloudflare Workers: Serves the static files. A tiny Hono worker handles two routes: /r (a share page with Open Graph tags for social cards) and /api/event (anonymous daily counters in D1: starts, finishes, shares). No cookies, no IPs stored.&lt;/p&gt;

&lt;p&gt;Pre-rendered share images: Generated at build time with satori + resvg (one per rank), so the worker never has to render images on the fly.&lt;/p&gt;

&lt;p&gt;Automated testing (Vitest): Checks that every level is actually solvable—verifying no dead links, that rescue links lead to passing answers, that the rescue triggers after at most 2 fails, and that no real brand names snuck into the copy.&lt;/p&gt;

&lt;p&gt;Hosting cost so far: $0 on free tiers.&lt;/p&gt;

&lt;p&gt;💡 Lessons learned&lt;br&gt;
Mobile-first matters even for desktop-feeling UI: A long line of code inside a CSS grid column initially pushed the entire page wider than mobile screens, hiding key action buttons. Fixing it required proper grid constraints: minmax(0, 1fr) and min-w-0.&lt;/p&gt;

&lt;p&gt;Minimize friction on mobile: Nobody wants to manually highlight and copy code on a phone. "Copy" opens a sheet with a single primary button: "Paste + build".&lt;/p&gt;

&lt;p&gt;Parody names only: StackUnderflow, Searchly, "the AI". It keeps the tone humorous while avoiding copyright headaches.&lt;/p&gt;

&lt;p&gt;🔮 What's next&lt;br&gt;
Frontend is the only playable role right now. Fullstack, Backend, and DevOps are listed as "coming soon" (and tapping one logs a vote).&lt;/p&gt;

&lt;p&gt;(And yes, DevOps players: there will be YAML.)&lt;/p&gt;

&lt;p&gt;Give it a run and let me know your final time and rank: beforeai.dev&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>gamedev</category>
      <category>nextjs</category>
      <category>cloudflare</category>
    </item>
  </channel>
</rss>
