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

aanthonymax.github.io

84 points by aanthonymax a day ago

Hello everyone! I created a short game in just a few days, just for fun, where you play as an ant and feed it apples

This game also features random landscape generation, with clouds and trees arranged in a chaotic pattern across all coordinates. This is what took me the longest time :)

I would appreciate your feedback ^ ^

valine a day 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.

coldfoundry a day ago

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

ryankrage77 a day ago

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

AfterHIA 8 hours 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 21 hours 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˚.

AISnakeOil a day ago

It must be a slow news day.

  • krapp a day 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 a day 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 13 hours ago

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

      • krapp 20 hours 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 a day ago

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

      • goopypoop a day ago

          +++out of cheese error+++
selcuka a day ago

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

Did you mean "across the horizontal axis only"?

  • aanthonymax a day ago

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

snasan a day ago

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

_def a day 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...

dr_dshiv a day ago

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

  • card_zero a day ago

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

giveita a day ago

Level 2:

Get all apples apart from the lowest one.

ralusek 15 hours ago

speedrun when?

bckr a day ago

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

bix6 a day 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 a day ago

    The Anthology of Bernie Santers

    Belligerant Santa

  • goopypoop a day ago

    Anton

    Grant

    Samantha

    Kant

    Evan T.

    Banterman

    Chantelle

    The Phantom

    Bryant

    Santiago

    • card_zero a day ago

      Myrmidon, Pissmire, Antihero

    • bix6 19 hours ago

      Crushed it!