Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
C64 3D first person game written in assembly by an LLM (github.com/needlestack)
89 points by cyril-crutches 4 hours ago | past | favorite | 31 comments
 help



Probably in the training set...

https://en.wikipedia.org/wiki/Wayout


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.


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:

https://www.youtube.com/watch?v=wWvF0_6DZiI


I got a few levels in, and had a fun time. Quite a good game if I do say so myself.

See also SquareDoom - an AI assisted port of Doom for the C64.

https://github.com/Kweepa/SquareDoom


There's also Quake for C64, including all shareware levels https://www.youtube.com/watch?v=1Qyk-lacG8E

https://kweepa.itch.io/quake64



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!

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.


love the music in the demo video, was it also generated? sounds like not but I'm curious

esdf? what is this

I never understood wasd —- your fingers naturally rest on esdf!

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.


> On a C64 the spacebar is an extra row below

Wut?


I was laughing out loud, because I had the same reaction, even though like a sibling comment says, esdf is naturally easier.

creepy ass game, I have real questions about the type of individual who would make this game

Yep, the fifth generation of programming languages is taking place, regardless of how we feel about it in general.

Like when people say the language or framework doesn't matter as much anymore what do you mean by this?


no we are not going back to assembly, compilers solve a problem


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.


"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.

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.


So it's a technical demo?

My friend is the author. Passion project from a lover of C64.

He messaged me, “I spent four months of my sporadic downtime on this. Wild for an AI assisted project, yeah? Level design and playtesting was probably the most time consuming. And it’s only 10 levels!”

I think if it more like a small but complete game than a technical demo


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.


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.

The graphics are much better than those in any other C64 3D Wolfenstein clone attempt I've seen.

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.

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: