Codex, Opus, Gemini try to build Counter Strike

instantdb.com

280 points by stopachka 4 days ago


BearOso - 3 days ago

I tried to find some code that wasn't minified to assess the quality of this, and I found some shader code for the sky in the gemini version. The whole shader looks like it was regurgitated verbatim. This wouldn't hold up to licensing scrutiny. Here's a snippet from it:

  // wavelength of used primaries, according to preetham
  const vec3 lambda = vec3( 680E-9, 550E-9, 450E-9 );
  // this pre-calcuation replaces older TotalRayleigh(vec3 lambda) function:
  // (8.0 * pow(pi, 3.0) * pow(pow(n, 2.0) - 1.0, 2.0) * (6.0 + 3.0 * pn)) / (3.0 * N * pow(lambda, vec3(4.0)) * (6.0 - 7.0 * pn))
Who's Preetham? Probably one of the copyright holders on this code.
gs17 - a day ago

Claude's has a funny bug where if you keep shooting a dead player before they respawn, you rack up kills fast. I thought I was doing so well until I realized. Impressive that they can get this far now.

mnau - 16 hours ago

This makes me depressed. LLMs will take the most enjoyable part of my job and I will be stuck reviewing or fixing bugs in their "it-compiles" codebase.

vpShane - 4 days ago

Wow, that makes me want to check it out more thoroughly (if I had the time)

I remember when CS Pro Mod was being made between the transition of CS 1.6, Source, the 1.6 community didn't want to move over to Source, before GO/CS2 came around.

Cool to see what's basically Quake1/doom style but this is a far fetch away from counter-strike. Although if netcode could be imagined and implemented I don't see why making a lower tier Counter-Strike wouldn't be doable. I'd play it if it were the quake style old-graphics version of CS that allowed for skill gaps.

Great article, love the nostalgic feeling.

andai - a day ago

I thought this would be about getting the actual Counter Strike to build, which is something they are also pretty good at. I had Claude debug an old C project of mine the other day and get it up and running.

Furthermore, if you have it sandboxed, you can also ask it to also install any necessary dependencies or toolchains, which is really nice.

parasec - 19 hours ago

That's great!

Now show us the cost, the time it took, and how much babysit... sorry, "human supervision" was necessary.

icapybara - 11 hours ago

Interesting that for all the hype, all the benchmarks - none of these 3 demos are anything close to Counter Strike.

jdthedisciple - 14 hours ago

As expected, gemini's is the worst. Excuse my bluntness, but their benchmark to real-life performance discrepancy has just been audacious at best...

behnamoh - a day ago

Yeah, AI is not going to replace programmers any time soon!

tanvach - 4 hours ago

A little meaningless with one-shot, should try recreating a few times per model and see what the variance looks like.

camgunz - 16 hours ago

This is the kind of thing that's so impressive that if you're not an (experienced) SWE you think "man LLMs are the future, and I am making some major decisions based on this". But you look at the code, and it's essentially gluing three.js and some DB stuff together. There's no lobby, no real interaction logic, no physics apart from what you get from three.js, chatting, commands, map editing, game modes.

In other words, this is slop. We know these new models can generate slop images, text, videos, and code. Sometimes slop can be useful; maybe you can shape it into something useful, maybe you can slop a slopper. But we're learning it's not economical--this is some of the costliest slop we've ever made.

kenjackson - a day ago

This is very impressive. That said, 1st person shooters seem like the less interesting type of game to create with an LLM nowadays. I'd much rather see a large world mystery game, for example. Think something like "All Her Fault", where you're the mom and you show up to pick up your kid and the game starts there -- and you need to find your kid. I would fine a game like that something that we probably couldn't do well w/o AI, but now, I think it might be doable.

vunderba - 4 days ago

Neat. FYI all the images on the site are TINY - might be a good idea to make add an interactive lightbox to them so we can see them without right-clicking and opening in a new tab.

wormpilled - 4 days ago

That's really cool, makes me want to try building a 3d game myself. I've only made 2d ones so far. Personally prefer the gemini version.

WhyOhWhyQ - a day ago

Whoever was insta-killing me in the gemini version over and over.... FUUUU!!!!

syntaxing - a day ago

I forgot what site it was but there used to be an online and browser playable CS 1.6. I don’t know if it was open source or not but there’s definitely code out their for this stuff so wouldn’t be surprised the models were trained on it.

aurareturn - 4 days ago

Damn this is cool. Imagine an LLM trained extremely well on something like Unreal Engine.

- 4 days ago
[deleted]
james_marks - 16 hours ago

Nice article-as-ad for their DB product. The product itself reminds me of MeteorJS, which seemed like it could take over in ~2016, and then... didn't.

gafferongames - 12 hours ago

These guys don't know what they don't know:

"Now let's make shots work. When I shoot, send the shot as a topic, and make it affect the target's HP. When the target HP goes to zero, they should die and respawn."

This is not how shooting is implemented in a competitive first person shooter.

flipflopsrawr - a day ago

Plagiarism is ugly after-all

jakebasile - 21 hours ago

Can't wait to see this at the Game Awards in a week or so.

- 19 hours ago
[deleted]