News for hackers. Stuff that matters.

Show HN: 1v1 coding game that LLMs struggle with

https://yare.io

1v1 strategy game I have been building for a while as a side project. It's purely a passion thing that has no aspirations for being anyhow monetized, though I hope to make it enjoyable to play.

I let LLMs play a mini-tournament. Here are all the replays and results of their games: https://yare.io/ai-arena

All are able to produce 'functioning' bots, but they are nowhere near even weak human-coded bots, yet

( 8 comments | 3 points | on HN )
Re:Show HN: 1v1 coding game that LLMs struggle with by javadhu on Friday March 06, 2026 @05:18AM (#47273142)
Cool project, this is my first time seeing such project using LLMs. Took me a while to understand what's happening on the home page.

A question though, why such powerful bots like Gemini 3.1 failed against Clowder bot? Is it because of inefficient code or the LLMs did not handle edge cases? Or they are not as good as humans when it comes to strategy.

Re:Show HN: 1v1 coding game that LLMs struggle with by levmiseri on Friday March 06, 2026 @05:50AM (#47273354)
I’m not sure honestly. It could be some combination of bad spatial reasoning of the LLMs and lack of any training data for this specific challenge.

You can see replays for all of the matches if you hover over the cells in the table.

Re:Show HN: 1v1 coding game that LLMs struggle with by dang on Friday March 06, 2026 @08:39PM (#47283494)
Macroexpanding the previous threads:

Show HN: Yare 2 – Programmable RTS game - https://news.ycombinator.com/item?id=32394902 - Aug 2022 (26 comments)

Show HN: Yare.io – game where you control units with JavaScript - https://news.ycombinator.com/item?id=27365961 - June 2021 (64 comments)

(Btw, reposts are fine after a year or so; links to past threads are just to satisfy extra-curious readers!)

Re:Show HN: 1v1 coding game that LLMs struggle with by vessenes on Friday March 06, 2026 @09:48PM (#47283946)
Cool!

From the prompt it looks like you don’t give the llms a harness to step through games or simulate - is that correct? If so I’d suggest it’s not a level playing field vs human written bots - if the humans are allowed to watch some games that is.

Re:Show HN: 1v1 coding game that LLMs struggle with by levmiseri on Friday March 06, 2026 @10:02PM (#47284041)
That’s true, I’m trying to figure out a better testing environment with a feedback loop.

I did try letting the models iterate on the bot code based on a summary of an end-of-game ‘report’, but that showed only marginal improvements vs. zero-shot

Re:Show HN: 1v1 coding game that LLMs struggle with by vessenes on Saturday March 07, 2026 @09:40AM (#47288071)
In my mind, I’d give it the following:

Step(n) - up to n steps forward

RunTil(movement|death|??) - iterate until something happens

Board(n) - board at end of step n

BoardAscii(n) - ascii rep of same

Log(m,n) - log of what happened between step m and n

Probably all this could be accomplished with a state structure and a rendering helper.

Do you let humans review opposing team’s code?

Re:Show HN: 1v1 coding game that LLMs struggle with by DeathArrow on Saturday March 07, 2026 @03:44AM (#47285796)
LLMs need to have feedback of the outcomes. Just like a human does.
Re:Show HN: 1v1 coding game that LLMs struggle with by neondude on Sunday March 08, 2026 @04:24AM (#47295596)
You should check out codingame.com It has similar battle based objectives