Show HN: I created a small 2D game about an ant
83 points
1 day ago
| 18 comments
| aanthonymax.github.io
| HN
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 ^ ^

tetris11
13 hours ago
[-]
It's good, but it's no bees and watermelon seeds.

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

reply
AfterHIA
2 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!
reply
valine
21 hours 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.

reply
coldfoundry
21 hours ago
[-]
You should also mention it was made with a templating engine you created! Makes it a lot cooler as a demo!
reply
aanthonymax
19 hours ago
[-]
Yes, I did it, but modestly.
reply
ryankrage77
1 day ago
[-]
I see potential for speedrunning since the apples are always in the same position.
reply
proee
1 day 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

reply
oniony
15 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˚.
reply
AISnakeOil
1 day ago
[-]
It must be a slow news day.
reply
krapp
1 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.
reply
valine
22 hours 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.
reply
flykespice
7 hours ago
[-]
OP made the game with its own engine so I think that makes it very unlikely
reply
krapp
14 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.
reply
bix6
22 hours ago
[-]
Vibe-coding is old news. We’ve moved on to ant-coding.
reply
goopypoop
21 hours ago
[-]

  +++out of cheese error+++
reply
selcuka
19 hours ago
[-]
> [...] trees arranged in a chaotic pattern across all coordinates

Did you mean "across the horizontal axis only"?

reply
aanthonymax
19 hours ago
[-]
Well, yes. It would be strange if the tree grew underground or in the air :)
reply
snasan
20 hours ago
[-]
Such a cute little game; it gave me a chance to catch my breath on this busy day.
reply
aanthonymax
19 hours ago
[-]
Thanks!
reply
dan-robertson
1 day ago
[-]
I like the big head and the smile on the ant
reply
aanthonymax
19 hours ago
[-]
He is smart!
reply
dr_dshiv
19 hours ago
[-]
The apples seem misproportioned to the ant? Is that just me?
reply
card_zero
19 hours ago
[-]
That's just your perception, both apples and ants measure approximately one centimeter to the nearest order of magnitude.
reply
aanthonymax
19 hours ago
[-]
The ant is very hungry
reply
volemo
13 hours ago
[-]
Or very well fed.
reply
_def
1 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...
reply
NuclearPM
23 hours ago
[-]
I what is the “I mean” for? What are you clarifying?
reply
card_zero
19 hours ago
[-]
It could be many things. I use this idiom too. I don't know what I'm doing.

https://en.wiktionary.org/wiki/I_mean

Expressing uncertainty, most likely.

reply
giveita
19 hours ago
[-]
Level 2:

Get all apples apart from the lowest one.

reply
ralusek
9 hours ago
[-]
speedrun when?
reply
DonHopkins
20 hours ago
[-]
It should show you a nude ant when you win, like Eggman.

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

reply
bckr
22 hours ago
[-]
Dude, I didn’t really think about using GitHub pages to make games like this! Thanks for inspiring me today.
reply
bix6
22 hours 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.
reply
bix6
22 hours ago
[-]
The Anthology of Bernie Santers

Belligerant Santa

reply
goopypoop
21 hours ago
[-]
Anton

Grant

Samantha

Kant

Evan T.

Banterman

Chantelle

The Phantom

Bryant

Santiago

reply
card_zero
19 hours ago
[-]
Myrmidon, Pissmire, Antihero
reply
bix6
13 hours ago
[-]
Crushed it!
reply