C64 3D first person game written in assembly by an LLM (github.com)
100 points by cyril-crutches 6 hours ago
LogicFailsMe 3 hours ago
Probably in the training set...
Lerc 2 hours ago
Possibly but I doubt there are any implementation details shared between them.
I found a clip of it online. https://www.youtube.com/watch?v=8tc0OOkQ_Rk&t=318
It's a much more expected c64 performance level.
qingcharles 3 hours ago
My first thought was Wayout as there were a number of pioneering 3D games on the 8-bit Atari computers back then.
It is heavily windowed, though:
e1ghtSpace 3 hours ago
I got a few levels in, and had a fun time. Quite a good game if I do say so myself.
vunderba 4 hours ago
See also SquareDoom - an AI assisted port of Doom for the C64.
JonathanFly 2 hours ago
There's also Quake for C64, including all shareware levels https://www.youtube.com/watch?v=1Qyk-lacG8E
qingcharles 3 hours ago
Video here:
mysterydip 5 hours ago
I had wondered for a while if it would be possible to do this with a carefully crafted character map and a text mode, but I never found time to check. Thanks for sharing!
Lerc 4 hours ago
I have a huge list of things in the back of my brain like that. Possibilities where the time investment to explore them vastly exceeds my lifetime budget.
Passing the ideas to a coding agent to do a lot of the grunt work has let me pull a few of those ideas off the stack for implementation.
There were a few sprite multiplexing ideas that I would have loved to have tried but they would have required keeping half a brain dedicated to managing the restrictions at all times. That has always been the big difference between demoscene works and games. A demo effect only needs to manage the conditions required for a set piece. A game has to either stick to one set of abilitiesband restrictions or dynamically adjust based upon the circumstances.
This is doable, but arduous. Mayhem in Monsterland was one of the best for putting in the effort required and the result showed the rewards.
I have been a little tempted to try an idea via coding agent on the c64 where even numbered scanlines had a scrollx of 0 and odd numbered scanlines had a scrollx of 7. So you have multicolour but alternating lines are half a multicolour pixel offset to break up the steps. Alternating scanlines get the colour attribute from the cell next door.
This gives you a bunch of restrictions on where pixel edges can be and what their colour options are. Utilised well,working within the restrictions, you can display more colourful images with less blockiness. You'd lose horizontal scrolling of course but vertical scrolling and paged games would be fine.
neko_ranger 5 hours ago
esdf? what is this
afn 4 hours ago
I never understood wasd —- your fingers naturally rest on esdf!
zamadatix 4 hours ago
WASD rotates your hand so the thumb naturally rests over the spacebard and your pinky naturally rests near the shift/control/caps key and your ring finger is still given the leftmost column of letter keys to navigate.
On a C64 the spacebar is an extra row below, so WASD doesn't have as many advantages.
timbit42 3 hours ago
mjuarez 4 hours ago
I was laughing out loud, because I had the same reaction, even though like a sibling comment says, esdf is naturally easier.
radarsat1 3 hours ago
love the music in the demo video, was it also generated? sounds like not but I'm curious
pjmlp 4 hours ago
Yep, the fifth generation of programming languages is taking place, regardless of how we feel about it in general.
lichenwarp 4 hours ago
Like when people say the language or framework doesn't matter as much anymore what do you mean by this?
pjmlp 3 hours ago
emkoemko 4 hours ago
no we are not going back to assembly, compilers solve a problem
pjmlp 3 hours ago
Who said otherwise?
https://www.kevinkinnett.com/posts/fifth-generation-programi...
elbistec24 24 minutes ago
What madness lead you to use ESDF instead of WASD for movement controls
somewatson 4 hours ago
I'm trying to parse the title. What's the noteworthy thing here:
- C64 + 3D?
- 3D game in assembly?
- Assembly written by an LLM?
Like, I think these things are supposed to be impressive but then I click the link and look at the screenshot and I'm not really sure who this is for.
egypturnash 4 hours ago
"High-speed 3d maze on stock c64" is the impressive part, look at the video (https://www.youtube.com/watch?v=kMK4kG7PcVM) and compare it to, say, Way Out (Synapse, 1983) (https://www.youtube.com/watch?v=Y35euiYjxXE) with its much smaller display area and slower framerate.
cognitivegears 4 hours ago
Yeah having done some coding on the C64 I was super impressed by the frame rate, there must have been a lot of time (or, well, tokens anyway) on performance.
There were other full (or almost full) screen 3D games at least on other platforms, Dungeons of Daggorath for the CoCo for example, but not with that kind of free motion and smooth animation.
somewatson 4 hours ago
So it's a technical demo?
cyril-crutches 4 hours ago
krige 4 hours ago
Comparing a 3 color maze with small sprites and no gameplay to a 1983 actual game is hardly impressive. Check out something modern like, say, Escape from PETSCII Planet https://www.youtube.com/watch?v=3RJ-9Eso1X4
Or Gates of the Ancient, a fast Elite-like game with 3D models https://www.youtube.com/watch?v=cHuUaDKT1uc
Or at least Stunt Car Racer https://www.youtube.com/watch?v=5Rdd1bCeNnI
But we should hold off comparisons and especially talking about speed until this project actually has something going on besides walking.
cyril-crutches 4 hours ago
Passion project for a full-time father of four who loves the C64. For me, it’s for lovers of the C64 and those who like seeing what can be accomplished in places you wouldn’t normally expect. In included LLM in the title to defensively head off low value criticims. Also, it’s just fun! Try the the “play it in your browser” option if you haven’t tried it.
ilkkao 4 hours ago
The graphics are much better than those in any other C64 3D Wolfenstein clone attempt I've seen.
deadbabe 2 hours ago
creepy ass game, I have real questions about the type of individual who would make this game
slowin 4 hours ago
Excellent. LLMs are going to unlock the latent ability of every piece of hardware (that still runs). Time to code and abstractions required for humans to reason (but adding layers of complexity and computation) can dissolve away when ever more powerful models can just rapidly write assembly/machine code.
svachalek 3 hours ago
Interestingly the C64 and machines of its generation were nothing like the timesinks that today's machines are when it comes to coding. You quite often did a project until it's all you could do with the resources available and then you were done. Most commercial games at the time were done by a single person, usually graphics and sound included.