153 pointsby stopachkaNov 28, 2025

13 Comments

vpShaneNov 28, 2025
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.

stopachkaNov 28, 2025
Thank you for the kind words : )
reactordevDec 1, 2025
Source had some insane rag doll. CS players weren’t ready for the physics and honestly, Valve spent a hell of a lot of effort to refine the physics for CS:GO to make it feel like CS1. Kudos to the dev teams.

I’d also love a Battle-bits CS version. (Battle-bits was a fun Battlefield low poly spoof).

wormpilledNov 28, 2025
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.
vunderbaNov 29, 2025
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.
stopachkaNov 29, 2025
Good idea! Added the PR for it here:

https://github.com/instantdb/instant/pull/2010

Once this lands lightbox should be up. Thank you!

stopachkaDec 2, 2025
Update: fixed!
aurareturnNov 29, 2025
Damn this is cool. Imagine an LLM trained extremely well on something like Unreal Engine.
BearOsoNov 29, 2025
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.
stopachkaNov 29, 2025
If you're curious about the source, here's the snapshot:

Codex: https://github.com/stopachka/cscodex Gemini: https://github.com/stopachka/csgemini Claude: https://github.com/stopachka/csclaude

BearOsoNov 30, 2025
Thanks. Turns out that shader is a builtin of three.js.
wahnfriedenDec 1, 2025
Please try again with Codex on High or Extra High. 5.1-Max nerfed it a bit if you don't use higher thinking.
20kDec 2, 2025
I always find it amazing that people are wiling to use AI beacuse of stuff like this, its been illegally trained on code that it does not have the license to use, and constantly willy nilly regurgitates entire snippets completely violating the terms of use

Edit:

https://github.com/vorg/pragmatic-pbr/blob/master/local_modu...

https://github.com/vorg/pragmatic-pbr/blob/master/local_modu...

This looks like where the source code was stolen from: this repository is unlicensed, and this is copyright infringement as a result

nerdponxDec 2, 2025
You presume that people care about things like this. A lot of people don't.
20kDec 2, 2025
Companies should. Its a business risk, you open yourself up to legal action
nineteen999Dec 2, 2025
"Claude - rewrite this apparently copyrighted code in a way that makes it a unique implementation." <- probably will work.
bryanhoganDec 2, 2025
It's fascinating that people care very much about this when it's visual arts, but when it comes to code almost no one does.

E.g. the latest Anno game (117) received a lot of hate for using AI generated loading screen backgrounds, while I have never heard of a single person caring about code, which probably was heavily AI generated.

staticassertionDec 2, 2025
Is it copyright infringement? It's a fundamental algorithm.
gpmDec 2, 2025
As discussed in this thread before you posted this comment, this code wasn't generated from an LLM at all, but simply included in a dependency: https://news.ycombinator.com/item?id=46092904

Unlike your results which aren't exact match, or likely even a close enough match to be copyright infringment if the LLM was inspired by them (consider that copyright doesn't protect functional elements), an exact match of the code is here (and I assume from the comment I linked above this is a dependency of three.js, though I didn't track that down myself): https://github.com/GPUOpen-LibrariesAndSDKs/Cauldron/blob/b9...

Edit: Actually on further thought the date on the copyright header vs the git dates suggests the file in that repo was copied from somewhere else... anyways I think we can be reasonably confident that a version of this file is in the dependency. Again I didn't look at the three.js code myself to track down how its included.

If there's any copyright infringment here it would be because bog standard web tools fail to comply with the licenses of their dependencies and include a copy of the license, not because of LLMs. I think that is actually the case for many of them? I didn't investigate the to check if licenses are included in the network traffic.

adastra22Dec 2, 2025
The courts have ruled that generated output is not infringing.
nineteen999Dec 2, 2025
Preetham is the author of the paper that defines this algorithm from 1999:

  https://tommyhinks.com/2009/02/10/preetham-sky-model/

  https://tommyhinks.com/wp-content/uploads/2012/02/1999_a_practical_analytic_model_for_daylight.pdf
Rather than stolen from Mr. Preetham, it's much more likely this fragment is generated from a large number of Preetham algorithm implementations out there, eg. I know at least Blender and Unreal implement it and probably heaps of others was well.

Nobody is going to sue you for using their implementation of a skybox algorithm from 1999, give us break. It's so generic you can probably really only write it in a couple of different ways.

If youre worried about it you can always spend a day with Claude, ChatGPT and yourself looking for license infringements and clean up your code.

speedgooseDec 2, 2025
I also noticed that AI agents commit many copyright infringements with the work of Mr Dijkstra.
fbrncciDec 2, 2025
The idea that someone could hold copyright over such a tiny snippet of code is just as stupid as LLMs regurgitating them.
gs17Dec 1, 2025
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.
abrookewoodDec 1, 2025
hah ... I think you were killing me!
behnamohDec 1, 2025
Yeah, AI is not going to replace programmers any time soon!
MadmallardDec 2, 2025
look at the actual code output lol
DaiPlusPlusDec 2, 2025
For the benefit of those of us who don’t work in browser-based frontends, how bad could it be?
syntaxingDec 1, 2025
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.
kenjacksonDec 2, 2025
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.
flipflopsrawrDec 2, 2025
Plagiarism is ugly after-all
WhyOhWhyQDec 2, 2025
Whoever was insta-killing me in the gemini version over and over.... FUUUU!!!!
andaiDec 2, 2025
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.

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