Regex Blaster

(mdp.github.io)

78 points by mdp2 days ago

13 comments

  • ks20483 hours ago
    Every vibe coded site is too dark and the text is too small.
    • mchaver34 minutes ago
      I could envision the style even before clicking on the site.
    • PurpleRamen47 minutes ago
      Maybe because it 1337 hackerman-style, or something.
    • mdp2 hours ago
      This is fair, although I ask for it to be dark themed to match what I think was the style of typing game I remember growing up with (it's been a while). Bumped up the font though.
      • xnorswap52 minutes ago
        Next time please ask it to respect system dark/light mode preference, it's trivial to do, especially for an LLM which can spin up light/dark alternatives easily.
        • NooneAtAll350 minutes ago
          no<p>considering free windows being light theme only, it should be a button, not a &quot;system default&quot;
          • CamperBob228 minutes ago
            That&#x27;s fine, too. Either way, give the user the choice.
      • btilly1 hour ago
        My top complaint is that if I&#x27;ve successfully used a pattern, I want my text removed. I keep forgetting to backspace a bunch, then get frustrated that my pattern isn&#x27;t working.<p>Other than that, great game!
    • christoph-heiss2 hours ago
      And all the text is grey-on-grey and basically unreadable. Not to even mention accessibility.
    • progbits3 hours ago
      They all have this rounded box design as well. I wonder where that came from, I don&#x27;t think it was a predominant style before.
      • mrkramer2 hours ago
        I vibe code web apps with Google&#x27;s Gemini and I think it actually mimics Google&#x27;s UI and UX because I see similarities between my vibe coded web apps and Google&#x27;s web apps.
        • progbits1 hour ago
          But that&#x27;s a different style from the these colorful border rounded boxes that I think Claude in particular loves to produce.
    • flykespice1 hour ago
      Every vibecoded site have this same dark look with shining hue-gradient borders, can&#x27;t wait for the future the entire web be filled with this generic look
    • darkstar9992 hours ago
      What evidence do you have that this is vibe coded?
      • flexagoon1 hour ago
        Because it looks exactly the same and feels as janky as 99% of vibecoded web apps
  • HanClinto3 hours ago
    Nice game!<p>We made a similar game several years ago for the Pyweek game competition, but there wasn&#x27;t the fun &quot;letter invaders&quot; style that this one has.<p><a href="https:&#x2F;&#x2F;pyweek.org&#x2F;e&#x2F;RegExExpress&#x2F;" rel="nofollow">https:&#x2F;&#x2F;pyweek.org&#x2F;e&#x2F;RegExExpress&#x2F;</a><p>I really like your implementation!<p>Might be good to limit some of the special operators to give more focus -- otherwise the early levels are a bit too solvable with &quot;.*&quot;
  • freedomben3 hours ago
    Wow really cool! Genuinely fun, and educational at the same time.<p>One usability request: after firing a regex, could the text box be cleared? It&#x27;s not hard to hit Ctrl+A and start typing again, but it does add a bit of friction. (I can send a PR)
  • 1-more1 hour ago
    I don&#x27;t understand the first &quot;combat&quot; level. There&#x27;s no real defining pattern separating the good from bad hex strings, so it&#x27;s just a typing speed contest to type all the enemy patterns, right? What am I missing?
    • Andoryuuta1 hour ago
      As far as I can tell, the first combat level enemies all start with &quot;ALERT-&quot; and have exactly 3 digits.
      • 1-more48 minutes ago
        sorry, second combat level. It&#x27;s all 6 digit hex color strings, some good some bad.
        • Andoryuuta13 minutes ago
          Ah, I see. Yeah, that one definitely took me multiple attempts to see what it wanted.<p>I believe that the &quot;enemies&quot;:<p>1. Must start with &quot;#&quot;<p>2. Must be exactly 6 hex digits<p>3. Must be lowercase
          • 1-more11 minutes ago
            Ohhhhh I swore there were friendlies with lowercase too! Thank you!!
  • freedomben3 hours ago
    Source code!: <a href="https:&#x2F;&#x2F;github.com&#x2F;mdp&#x2F;regex-blaster" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mdp&#x2F;regex-blaster</a>
  • NooneAtAll351 minutes ago
    I wish it wasn&#x27;t time-limited...
  • joshribakoff1 hour ago
    I cant even read this because most of the text is outside my phones viewport. Please test your stuff before posting it here.
  • mrkramer2 hours ago
    This looks like something I would vibe code with Google&#x27;s Gemini. Interesting concept.
  • JanisErdmanis2 hours ago
    This is really funny ;D Gives Tetris vibes and is executed beautifully.
  • brew-hacker3 hours ago
    Fun interactive game!
  • SilentM683 hours ago
    Cool idea! I shall give it a try :)
  • mdp2 days ago
    TL;DR: I think you should still learn regex, even though AI has made it a &quot;useless&quot; skill<p><a href="https:&#x2F;&#x2F;mdp.github.io&#x2F;2026&#x2F;03&#x2F;17&#x2F;the-kids-are-alright-and-theyll-probably-still-learn-regex.html" rel="nofollow">https:&#x2F;&#x2F;mdp.github.io&#x2F;2026&#x2F;03&#x2F;17&#x2F;the-kids-are-alright-and-th...</a>
    • m3galinux3 hours ago
      Not so useless. In my experience LLMs are about 50&#x2F;50 on making a regex that actually works and covers the cases you asked it for. Even less when you get into cases needing advanced features like backreferences and lookahead.
    • croes3 hours ago
      A little bit early to tell.<p>Let’s wait how affordable, available and good AI is when the companies turn to profit maximization and enshittification begins
      • cachius2 hours ago
        You can go local now with qwen 3.5 9B Q4 powering hermes agent at 35 to 50 tok&#x2F;s with 99 percent tool call success rate on a used RTX 3060 for the price of two months of ChatGPT Pro and never bother. <a href="https:&#x2F;&#x2F;xcancel.com&#x2F;sudoingX&#x2F;status&#x2F;2033020823846674546#m" rel="nofollow">https:&#x2F;&#x2F;xcancel.com&#x2F;sudoingX&#x2F;status&#x2F;2033020823846674546#m</a><p>This is the worst local AI will ever be. It only gets better from here. <a href="https:&#x2F;&#x2F;xcancel.com&#x2F;sudoingX&#x2F;status&#x2F;2033959603944493192#m" rel="nofollow">https:&#x2F;&#x2F;xcancel.com&#x2F;sudoingX&#x2F;status&#x2F;2033959603944493192#m</a>
  • neonsunset2 hours ago
    [dead]