Thats ridiculous I love it. The visual in the bottom right it a great illustration.
paul-vernon•1w ago
> The game logic is just ~5900 lines of SQL. While this sounds a lot, it’s definitely less than the original C source code which does the same in about 9000 lines!
Nice
dang•1d ago
(This has been posted numerous times but none of them made the front page. I've made a new copy of the earliest one that got comments.)
soltanov•17m ago
Less lines of code than vanilla C while abusing query planning as a state machine is peak engineering malpractice. I love it.
Alive-in-2025•6m ago
Yes, this is fantastic! I'm trying it right now. I look forward to the day when LLM inferencing can be done in a sql query and take less than the age of the earth to do something. This works way better than I would have expected, since, well, it's sql all the way down.
I noticed the cedardb.com blogpost on the project is slashdotted at the moment, but the game itself plays just fine.
smalltorch•1w ago