Show HN: I created a small 2D game about an ant

(aanthonymax.github.io)

89 points | by aanthonymax 10 days ago ago

41 comments

  • valine 9 days ago

    Here's my version, took about 5 minutes to create inside the ChatGPT web interface. https://valine.github.io/vibe-coded-ant-game/

    I don't know if this game was vibe coded, but it certainly could have been. Most notable thing about this post is probably that vibe coded games are good enough now to fool HN.

    • hereme888 2 days ago

      I love the "Don't trust everything you see on HN" banner.

  • tetris11 9 days ago

    It's good, but it's no bees and watermelon seeds.

    https://www.youtube.com/watch?v=ZCptY6WgNDw

  • coldfoundry 9 days ago

    You should also mention it was made with a templating engine you created! Makes it a lot cooler as a demo!

  • ryankrage77 9 days ago

    I see potential for speedrunning since the apples are always in the same position.

  • AISnakeOil 9 days ago

    It must be a slow news day.

    • krapp 9 days ago

      It's a Show HN that doesn't appear to be vibe-coded AI slop. I'll take it any day of the week.

      • valine 9 days ago

        Both Claude and GPT5 can single shot this type of game. The score counter looks exactly like the type of thing Claude spits out.

        • flykespice 9 days ago

          OP made the game with its own engine so I think that makes it very unlikely

        • krapp 9 days ago

          Fair enough, it is impossible to know. I'm making an assumption based on the fact that the use of AI wasn't mentioned anywhere I could see, and people usually mention it.

      • bix6 9 days ago

        Vibe-coding is old news. We’ve moved on to ant-coding.

        • goopypoop 9 days ago

            +++out of cheese error+++
  • proee 9 days ago

    Reminds me of Ant for the HP48 calculator, though I have a feeling that was way before your time ;-)

    https://www.hpcalc.org/details/6681

  • _butter_ 6 days ago

    Absolute banger. Time to add a competitive multiplayer mode, skill-based matchmaking, and ranked seasons

  • hereme888 2 days ago

    My record score is 6

  • DonHopkins 9 days ago

    It should show you a nude ant when you win, like Eggman.

    https://www.youtube.com/watch?v=K0OSfbPJFa4

  • AfterHIA 8 days ago

    This is great; I don't play video games as an adult but I got to have my 4 seconds of fun and it was all I needed. Top form aanthony!

  • oniony 9 days ago

    A little know fact is that if you want to pack six ants inside an apple, the guy at the bottom has to be at 49.93˚.

  • dan-robertson 9 days ago

    I like the big head and the smile on the ant

  • selcuka 9 days ago

    > [...] trees arranged in a chaotic pattern across all coordinates

    Did you mean "across the horizontal axis only"?

    • aanthonymax 9 days ago

      Well, yes. It would be strange if the tree grew underground or in the air :)

  • _def 9 days ago

    I mean there's not much of a game really, but I like it for what it is. It's also cute and the controls feel surprisingly snappy. My suggestion would be to try this typical responsive meta tag so the viewport does not scroll: https://developer.mozilla.org/en-US/docs/Web/HTML/Guides/Vie...

  • snasan 9 days ago

    Such a cute little game; it gave me a chance to catch my breath on this busy day.

  • dr_dshiv 9 days ago

    The apples seem misproportioned to the ant? Is that just me?

    • card_zero 9 days ago

      That's just your perception, both apples and ants measure approximately one centimeter to the nearest order of magnitude.

    • aanthonymax 9 days ago

      The ant is very hungry

      • volemo 9 days ago

        Or very well fed.

  • giveita 9 days ago

    Level 2:

    Get all apples apart from the lowest one.

  • temperceve 6 days ago

    my son really enjoyed this, he's 11

  • bix6 9 days ago

    I’d like to name my Ant please. Anthony? Or perhaps Antoine. Or maybe even Marie Antoinette. Wow there must be like 20 names that start with Ant.

    • bix6 9 days ago

      The Anthology of Bernie Santers

      Belligerant Santa

    • goopypoop 9 days ago

      Anton

      Grant

      Samantha

      Kant

      Evan T.

      Banterman

      Chantelle

      The Phantom

      Bryant

      Santiago

      • card_zero 9 days ago

        Myrmidon, Pissmire, Antihero

      • bix6 9 days ago

        Crushed it!

  • bckr 9 days ago

    Dude, I didn’t really think about using GitHub pages to make games like this! Thanks for inspiring me today.

  • ralusek 9 days ago

    speedrun when?