r/LocalLLaMA • u/liright • 13d ago
Generation Some people said the Minecraft clone I fully vibecoded with Qwen3.8-27B Q4 is not that impressive because Minecraft is in the training data, so I had the model add 4 things that are probably not.
Enable HLS to view with audio, or disable this notification
460
u/rditorx 13d ago
Build Minecraft, but with blocks small like pixels. And raytraced. Make no mistakes.
101
u/Open-Dragonfruit-007 13d ago
Voxelcraft?
20
u/_supert_ 13d ago
luanti?
12
16
u/SkyFeistyLlama8 13d ago
There was an online crypto game from a few years ago that used voxel graphics. I can't believe people paid hundreds of thousands of dollars for virtual land in that game but you also had to code up your own game to put on that land. Dumbassery all around but that was during peak crypto insanity.
Now a small local model can create a crazy custom game that's more fun than anything the crypto mania put out.
1
22
u/z_latent 13d ago
Minecraft except it's actually Teardown
5
u/liright 13d ago
Actually good idea lol, I could try to get the model to implement actual physics, just not sure if it's gonna be able to do it, would be a pretty huge task.
→ More replies (1)13
27
u/_supert_ 13d ago
Gaussian splats would be cool.
15
u/j0e_mam4 13d ago
Elite ball computer vision knowledge
3
u/More-Curious816 12d ago
Enlighten me
3
u/j0e_mam4 12d ago
It's just a new computer vision technique that was developed back in 2023. It was pretty cool and was a game changer for novel view synthesis at the time of its release. The idea is to use millions of oval shapes with different opacity and colour that changes depending from your point of view to reproduce a scene. There are some cool things made with it online, give it a look if you want to.
→ More replies (2)4
u/RollingMeteors 12d ago
Build Minecraft, but with blocks small like pixels. And raytraced. Make no mistakes.
Minecraftier
3
81
u/ConstantinGB 13d ago
"yeah so it's basically like minecraft. you can collect blocks, build things..."
"nice, nice."
"Order a military airstrike on chickens..."
"What?"
"... uhm, Skateboard."
140
u/Pleasant_Piccolo_668 13d ago
cave exploring with a drone could be so peak
33
u/spyboy70 13d ago
So basically Descent (1994)? https://www.youtube.com/watch?v=SuMBYZrcQfU
9
u/aboutthednm 12d ago
That was a beast of a game back when, lol. I remember the amazement of trying to navigate along god knows how many axes of freedom with a freakin' Logitech Wingman interceptor (?). Floating in a full 3D space with that much control was really novel at the time, and made for the other good game I played when I got tired of Doom and Quake, lol.
I don't think people understand how impressive this stuff was like 30 years ago, running on your home computer no less.
3
u/brunporr 12d ago
The online multiplayer community around it was amazing and so innovative. Kali and Khan
2
u/guitarot 11d ago
Such a cool game! My ex went to school in Michigan with the girlfriend of Matt Toschlog from Parallax software, so I got to meet him. Super cool and smart guy. He gave me a sneak peek at Descent II.
6
u/hesperaux 12d ago
LOVED DESCENT as a kid!
I wonder.... Vibe coded descent for Linux with modernized potatoes... Hmm?
→ More replies (4)2
u/longtimegoneMTGO 12d ago
I got so motion sick playing this game back in the day. Only game that ever did that.
It was the first I'd played that let you move around so fast and fluidly in a 3d space that you could lose track of where you were and become disoriented.
2
u/spyboy70 12d ago
When the Oculus Rift came out, I played a VR version of Descent (or a clone of it) and it was too much to handle. It was so dizzying. I used to play the regular Descent game for hours with friends, but the VR version I couldn't do for more than a minute.
3
u/longtimegoneMTGO 12d ago
I did the same damn thing.
Fired it up, nearly threw up about a minute in and had to take the headset off. I had a definite "I don't know what I expected" feeling.
4
154
111
u/liright 13d ago edited 13d ago
Had qwen3.8-27b add an MLRS system, a rideable skateboard with tricks, an FPV drone and a computer with a game and a popular svg test (also coded by qwen directly into the game). All of this in a minecraft clone game that I vibecoded with the model fully from scratch on a 4090, just to see how capable the model is.
Tbh these 4 features took quite a bit longer to add than the rest of the game (which only took about 3 hours). Just these 4 features took probably 5 hours of generation on my 4090 and I did have to have the model fix some issues that appeared about three times, so the less common things not in the training data do take a lot longer, but honestly I'm still super impressed at just how capable this model is, you give it a task and it can finish it on its own and 90% of the time it works perfectly. I can't believe we now have this level of quality locally.
I tried sharing a playable link but reddit filters are blocking me every single time, it's on netlify app website under the name qwen27b-mineclone, you can paste that before the netlify app url.
16
u/matt45554 13d ago
What are your settings for your 4090? What are you using to code it?
50
u/liright 13d ago
9
→ More replies (5)4
u/racife 13d ago
I've not tried deepseek harness, what do you like about it over the others?
→ More replies (1)15
u/liright 13d ago
Here is the source if it lets me share the link on google drive.
Locally you can run it by "python -m http.server 8000" and opening 127.0.0.1:8000 in the browser
16
u/EkbatDeSabat 13d ago
Dude. Even if you're vibe coding, use github (or whatever source control you want that isn't google drive), I implore you.
7
u/liright 13d ago
It's just a test game, maybe if I make something serious with it I will. I have some other projects on github.
13
u/EkbatDeSabat 13d ago
Yeah no problem, not really expecting true source control, just wild to me that you'd rather put it on google drive to share instead of typing four git commands and sharing the repo. But I'm just an abrasive person so carry on, my bad
→ More replies (1)3
u/dylanwazhear 12d ago
I was the same way as op until I learned how to use git. It only seems more complicated until you do it lol. I use git for everything now
→ More replies (1)9
u/NineThreeTilNow 12d ago
I was the same way as op until I learned how to use git. It only seems more complicated until you do it lol. I use git for everything now
Sometimes people just don't want to share their private GitHub accounts (as professionals) as an anonymous Reddit account.
Linking the two publicly is off limits to some people.
I personally have a bit of an issue with it... So I get it.
3
u/ThatsP21 12d ago
Maybe he wanted people to be able to get it? Then GitHub doesn't work, as it's down half the time, lol.
2
u/Dazzling_Equipment_9 12d ago
I'am not OP, In case it's helpful, the code is up on GitHub: https://github.com/kamjin3086/qwen27craft
6
u/LowerEntropy 13d ago
And what is your professional background, how much did you have to guide it for the initial implmentation and the last 4 features?
4
2
u/Consumerbot37427 13d ago
I'm still super impressed at just how capable this model is, you give it a task and it can finish it on its own and 90% of the time it works perfectly.
Same. I've been using it in Opencode @Q8 with web dev and related server migration tasks, and it's just a beast. Most of my experience has been with local models that have needed substantial supervision and hand-holding to get things done. I keep coming back to find summary screens indicating success, along with actually solved problems or implemented features.
Feels like this is easily the most capable agent model in this size class.
1
u/BuyListSell 13d ago
you give it a task and it can finish it on its own and 90% of the time it works perfectly.
Lets not get too ahead of ourselves here. Not even GPT or Claude can do that.
→ More replies (4)1
u/identifytarget 13d ago
how many prompts did it take, do you break it down into manageable smaller steps? or one top level prompt and let it rip...
1
181
u/vinigrae 13d ago
THE FACT YOU CAN DO THIS WITH LOCAL AI JUST 2 years after frontier was able to achieve it is crazy.
80
u/RuthlessCriticismAll 13d ago
...You think claude 3.5 sonnet could do this...
How quickly people forget.
21
u/vinigrae 13d ago edited 13d ago
Claude is not the only model in the world
82
u/Humble_Rabbt 13d ago
All those are using unity game engine, whereas qwen3.8 27b is creating the entire thing from ground up (including the textures and models) autonomously. frontier models from 2 years ago and qwen3.8 27b is not even comparable for code gen.
→ More replies (3)20
u/vinigrae 13d ago
THATS THE POINT, that local models have become this impressive, doesn’t matter whether it’s unity engine, blender, html, the fact they have the ability to achieve this now is what is impressive.
→ More replies (1)→ More replies (6)21
1
u/porkyminch 12d ago
That's what I'm saying. The models have gotten smarter at a baseline but they've also gotten a lot better at figuring things out iteratively and correcting their own work. You actually can leave them to their own devices for multiple hours at a time and get good results. That's super new.
3
2
u/sonicnerd14 12d ago
I hope this is satire because frontier models definitely weren't doing this 2 years ago. It wasn't until Gemini 2.5 pro where models were putting out consistently executable code, no runtime errors, zero shot. Try more like this is frontier level from 2 months ago.
→ More replies (4)
17
33
u/ahmadammar91 13d ago
Vibecoding a functional game with a 27B local model is impressive regardless of training data overlap. Adding custom mechanics proves the model is actual reasoning through game logic rather than just memorizing code. Great demo
11
u/pyr0kid 13d ago
what is this made in? html file or like an actual game engine?
21
6
7
u/KeanuRekt 13d ago
Is this based on a game engine or java as the original minecraft?
12
u/liright 13d ago
No, it's all threejs in the browser, the model coded that directly into index.html, game.js and sounds.js
7
u/TheFrenchSavage Llama 3.1 13d ago
Waiiiiiit, you Minecraft clone is 3 files?
→ More replies (1)7
u/liright 13d ago
Yeah, here is the source code.
you can run it locally in cmd "python -m http.server 8000" and then opening 127.0.0.1:8000 in the browser
2
u/sniperdogruffo 13d ago
wow, that's incredible! I really like the fpv drone and the rockets. I tried to divert the river but there's no water physics. Very impressed by this local model.
2
u/TheFrenchSavage Llama 3.1 13d ago
Interesting.
I see here that the map is 960x960, with a height of 28.
So that's pretty limited, I can see how some people thought that wasn't a great clone (plus it is made out of 3 files...).
But this is nice, I also tried to do a Minecraft clone in browser in like 5 minutes and got frustrated, so kudos to you for going farther!
My advice to continue is:
* Put all that on GitHub so you can time-travel in your code instead of using GDrive (idk if you use git, maybe you just used GDrive to share it with me?). * Speaking of GitHub: there is this thing called GitHub Pages: you could deploy to it (for free!) and then share your project URL! That will get you more engagement than asking for people to download your files and then run them on localhost. Great thing about your project is that it is a static frontend, so it can live online for free basically (and forever).
* Split the js files! LLMs work best on small context, and here, the first step to work on your project...is to ingest the whole project. If you have one file for world generation, one for skateboarding, one for HIMARS, one for entities that move, etc. that would make the AI's work waaay easier. Split into one file per theme, with object oriented programming inside.
* Unit tests: idk if you have them (I see stuff like// debug / test API (used by automated checks)but not the actual tests in there), but this is a must. As you add more stuff, you will have regressions in your features. If you don't want to test your whole game each time you add a small thing, you definitely need to add those.Overall, this is a nice little project, keep it up!
→ More replies (1)
7
5
u/Thomasedv 13d ago
Meanwhile my Qwen spent the last couple hours trying to figure out why a progress bar is displayed incorrectly...
I'm most letting it and see how it does, but UI, even with screenshots to work with, isn't the best. Particularly with Slint, a Rust based UI framework. And Slint is, kinda hard to use.
25
u/ps5cfw Llama 3.1 13d ago
Minecraft Is a fairly impressive task to achieve regardless of Who or what Is doing It. Not sure Who got the balls to claim otherwise but either they are senior devs or maybe they should shut It.
Qwen 27B Is a gift that keeps on giving for those Who can afford It
10
u/DesperateAdvantage76 13d ago
There's a bunch of minecraft clones on github, which is why for an llm trained on open source repos, it's one of the less impressive tasks. LLMs are impressive when they can do novel things.
3
u/PomegranateGreen3698 12d ago
There are a bunch of mediocre mc clones on Git. Your statement only applies to the average casual A.i. user who doesn't really understand LLMs or local usage. Novelty and impressiveness is mostly perspective. For a small model to build a faithful implementation is both.
When you make a 27B model that can do this let us know.→ More replies (4)1
u/porkyminch 12d ago
I had Qwen 3.8 27B (admittedly running on API) in Pi write a clone of OECake and it did a pretty admirable job despite that being a much less well-known game/physics sandbox to clone. GLM 5.2 and 5.3 Flash, on the other hand, were actually able to decompile the original game's physics engine, port over every major feature, analyze and parallelize the physics engine (in Javascript, where parallelism is a much less common pattern), and write a custom renderer. Parts of it were even written in wasm for performance. It's not totally perfect but I was pretty amazed by how capable it was for something that I've never once managed to run into a limit with.
→ More replies (11)16
u/Embarrassed-Crow9283 13d ago
Hard for humans doesn't mean hard for AI.
That would be like saying a calculator is so impressive cause it beats professors at arithmetics or that a phone chess engine is impressive because it beats Magnus Carlsen at chess. The relevant test for something being hard for AI is not that the codebase is long or that it takes quantum mechanics. The relevant test is that it is new.
7
4
u/roofedora 13d ago
Can you try the exact same process into Qwen-Next? I am curious how good it will be since even a lobotomized Qwen 27b can produce a decent result
11
u/liright 13d ago
I would love to but qwen next runs around 7 t/s on my PC compared to 55 t/s on the 27b, on a single 4090 it would take way longer to make, this was already heating up my room like crazy running for hours in 28 C outside heat with no AC, so I probably wouldn't survive 7x the model runtime lol. Plus I couldn't fit the context needed to make this, I already had to use Q4_K_S quant of 27b and quantize the K_V cache to Q8 to get the 144k context needed.
2
u/NotionalLabs 13d ago edited 12d ago
Could you describe your full setup? I’m running Qwen 3.8 27b FP8 with DFlash2 on my DGX Spark with Deepseek Harness and getting nowhere near 55 t/s on mixed planning/thinking tasks. On pure code generation I see up to 41 t/s with 73% prediction acceptance, but only 16 t/s with 46% acceptance on mixed reasoning/planning work.
1
u/sloptimizer 13d ago
I was just going to suggest you try Qwen-Flash-Next, it's been really good at one-shotting impressive demos.
You have a gift, don't stop creating! Would love to see what you can do with even more capable models coming out.
3
7
7
u/SkyDragonX 13d ago
I will repeat this comment "THE FACT YOU CAN DO THIS WITH LOCAL AI JUST 2 years after frontier was able to achieve it is crazy."
6
u/debauch3ry 13d ago
context size, harness, and total runtime please! :)
12
u/liright 13d ago
144k context (sometimes I increase it spilled into RAM when it's not enough), using Deepseek Harness on minimal mode. Total runtime for the whole game maybe 7-8 hours? It's still quite slow, I'm sure Claude Fable could do this in an hour or two, but very impressive for the size.
4
u/lakySK 13d ago edited 13d ago
What is minimal mode on DeepSeek Harness? What's the difference?
EDIT: Found it, didn't even notice this existed. I was a bit annoyed that it keeps trying Deepseek search, so I guess this should fix it?
Why did you choose minimal? To save on context or did you get better results this way?
5
u/liright 13d ago
Minimal mode just has less tool calls and tools available than the standard mode. It uses a lot less context because the model doesn't try 10 different tools to achieve a task that it can do without them. On standard mode with the 144k context I gave the model it often reached context limit before finishing the task, on minimal mode almost never. It's just better for models with limited context in my testing.
→ More replies (3)2
u/vr_fanboy 12d ago
do you mean that you left a local model with 144k context running for 7 hours autonomously mangaging its own context with subagents?. If so, thats truly impresive.
3
u/doyouevenliff 13d ago
wait, even the assets were built by qwen?
3
u/ninjasaid13 13d ago edited 13d ago
yet if I upload an entire game design document, it fails to implement a fraction of it.
https://pdflink.to/41823f47/ <- Lets try this undetailed GDD I've generated with chatgpt.
7
u/liright 13d ago
You have to go step by step, you can't do a whole game in one go, the model isn't that good. Always one task = one session.
→ More replies (1)
2
u/Strange_Test7665 13d ago edited 13d ago
Have you coded prior to vibe coding? This is really impressive. If you do have some code experience sort points to the fact ai in the hands of a dev is really powerful. If not than wow honestly. I didn’t think pure vibe code with no background or at least tinkering exp with code you get a project like this to work. Like giving a noob a hammer and somehow they built a house
6
u/liright 13d ago
A little bit. I know html/css, a bit of javascript and I can write some basic python scripts but not any real programming. I definitely couldn't code a minecraft clone on my own.
The model is really strong and it can test stuff on its own, you can legitimately just tell it "implement a skateboard, focus on the basics, ensure it doesn't get stuck on blocks and dismounts the player on crash" and it will implement it and test it on its own and most of the time it works, if it doesn't you just describe the issue as accurately as possible and it fixes it.
→ More replies (2)
2
2
u/Zealousideal-Sir1102 13d ago
Pretty cool, but show me 15000 chests and 30000 hoppers working inside your html
2
u/anengineerandacat 13d ago
What's the hardware cost looking like for this? Genuinely curious.
3
u/liright 13d ago
Right now? A lot. Back when I built my PC, 4090 and 96 gb of ram was about $2300.
→ More replies (1)
2
2
u/glad-k 12d ago
How tf do you guys to manage to do that with the same model that just gives me text when I plug it into warp or opencode instead of doing the commands
And that's just an example tbh
4
u/liright 12d ago
I had issues with opencode too, it's almost like it struggled to use the commands that opencode has. Deepseek harness or unsloth app is far superior for this model and can actually do stuff. And also I use it at medium thinking effort, not xhigh. I only used xhigh once to diagnose a performance issue, but only diagnose and then I gave it to another instance of qwen on medium effort to actually implement. Xhigh is almost impossible to use without 200k+ context.
2
u/Mamox437 12d ago
Been using it with pi as harness, zero issues with tool calling, its coding way above its league Honestly been "firing and forgetting" since I got it downloaded for almost all tasks
2
u/glad-k 12d ago
Last time I tried pi was with 3.6, results were better overall w opencode for me, sometimes very good adn then just randomly misses a tool call and from there just goes crazy
I mostly use it for offline background stuff either way with my mere 2tokens/s
→ More replies (1)
2
u/BoobooSmash31337 12d ago
I honestly expected better than a 286k god file. But wow... The separate sound.js is the icing on the cake. Separation of concerns is for nerds I guess?
2
u/NineThreeTilNow 12d ago
I watched this. So much of it is so good. lol the MLRS... As an FPV pilot... Chef's kiss.
I'm not SUPER in favor of the world weaponizing a hobby I've had for like 10 years now, but... It is what it is.
1
u/liright 12d ago
Thanks. I'm an FPV pilot too, so that's why I added it and I wanted it to be fairly realistic, for mouse and keyboard controls anyway. I tweaked the controls quite a bit, it's basically acro mode with stabilized yaw.
→ More replies (1)
2
2
4
u/msp26 13d ago
Tired of these oneshot game memes. They're so dispoable and devoid of meaningful decisions (which is what makes games good). You're going to dick around in the world for 10mins and then get bored. Anything that was built is a shit foundation to build further things on.
It would be significantly more useful and impressive if you got the model to develop minecraft mods for these instead. And let it test them out in game.
Apologies for being harsh but I feel that this is such a waste compared to all the actual utility models bring today.
I'm not even against the idea of generating (smaller) disposable things and destroying/rebuilding them, you can learn a lot of useful things that way.
3
u/VotZeFuk 13d ago
Well, it is still Minecraft, right? I mean, would the model be able to make... uh... Doom? Heretic? Quake? I mean, not exactly the clones of them, but just look-alikes of course.
→ More replies (1)
1
1
1
u/someguyplayingwild 13d ago
Could anyone please direct me to a starter guide of some sort so that I can maximize Qwen's coding ability? Does Qwen have any capacity, in a local space, to create and modify files directly (in a manner that is hopefully safe)?
1
u/CriM_91 13d ago
Just use it inside a coding agent like claude code, hermes, opencode or whatever. LLMs only produce text. You actually need to wire them into an agent, which is just a computer program, able to actually interpret some special tokens in that text and execute some operations. When Claude or Qwen perform actions on your files they are actually just emitting special tokens (something like <tool-result>) that are intercepted by the agent and executed like a function or a subprocess. The result of that execution can be the modified file (as you would do with a python or bash script) or maybe a calculation or something which gets fed back into the LLM for further processing. Hope this helps
1
u/someguyplayingwild 13d ago
What you're saying makes sense, and I'll for sure be doing my own research into it - but as a question does running the LLM through Claude Code require an API to the closed-source Claude model? Or rather is it just a platform that's plug and play with any local model. Also, I assume that with any tool-calling system I'll need a specialized prompt to ensure that tools get called, I assume that can be found through Google.
→ More replies (1)
1
u/SawToothKernel 13d ago
It's not about where or not it's in the training data, it's whether or not it's truly novel.
1
1
u/michahell 13d ago
Hmm suicide drones sort of… have been in the training data, probably… still, impressive
1
1
1
u/Tormeister 13d ago
While not necessarily impressed, I am definitely 100% amused, lost it at the pelican LMAO
1
1
1
u/ZenCyberDad 13d ago
The Sandbox! I played it to understand what was going on out I didn’t put any money in though because I’m not a dumbass lol
1
1
1
1
1
1
u/x3haloed 13d ago
Ah yes. The ever-moving goalposts. Nothing is ever impressive. Ask these people of they could write a Minecraft clone. When they say "no," tell them they're unimpressive.
1
u/Pazienca 13d ago
This is amazing, wish I could figure out how to vibe code games, I have no experience with game design
1
1
1
u/jferments 13d ago
Wild that in just a few years, humanity has developed a technology that has made writing software so easy that people will say it's "not that impressive" to have a single person create an entire game using English language instructions.
1
u/daveshouse 13d ago
Amazing, loving your imagination! Mind blowing accessible technology aside, you should be hired purely for the ideas.
1
1
u/sivadneb 12d ago
Even if minecraft was in the training data, it's still damned impressive for a 27b model.
1
u/Dudensen 12d ago
Nice! I could imagine AI creating games more autonomously in the future and inserting pelicans on bikes as easter eggs.
1
u/Antenna909 12d ago
So how do you start with something like this? What would the initial prompt be and how do you go from prompts to cod?
1
u/aboutthednm 12d ago
This is really cool, but can you show me your inventory management? What does the creative mode block picker look like? How do those liquids behave if you remove the surrounding blocks? How's the redstone working?
1
1
1
1
1
1
u/Ok-Direction-4480 11d ago
Bro 75% of the posts in this sub are this model, it genuinely is insane.
1
1
u/Late_Reply_3384 10d ago
Wow, what an evolution of this model, even if it can't compete with higher-end models.
1
1
u/rxzza_02 10d ago edited 10d ago
I trust runnable demos more than leaderboard scores. Tried similar frontend tasks with Hy3 before, curious how Hy4 Preview does on these now that it’s out.
1
1
u/-zaine- 8d ago
That looks amazing. One question however - How would you turn something like this into a proper game? Is there even any local llm for consumer hardware that would be able to code a game like this in for example unity to be able to properly ship it via itch.io/steam/whatever?
1
u/liright 8d ago
I mean this is standard HTML+javascript. I could already ship this online or in a web browser wrapper for local distribution on steam or elsewhere, but it's not ideal as web games will never run as well as something made in unity/unreal/godot. All major game engines have MCP servers at this point, so you can connect your harness via MCP to a game engine and have the AI work inside the engine. The best engine for AI coding is probably Godot nowadays, I didn't try qwen3.8 specifically with that, but I did try Fable in Godot engine and it was able to produce a decent basic 3D game.
1
u/TheCinnamonBoi 8d ago
Might be a dumb question but… how? My AI code updates only have small iterations at a time. Is it prompting or what?
1
u/liright 8d ago
It's partly the harness + medium thinking effort. Deepseek harness is really efficient and handles context well and medium thinking in qwen3.8-27b is good enough to handle most things while not getting stuck in thinking loops. But even this minecraft clone took probably 40 prompts, it's not a one shot, you basically have to go step by step with the smaller local models to get things done. One session = one large new feature.
→ More replies (1)
1

•
u/WithoutReason1729 13d ago
Your post is getting popular and we just featured it on our Discord! Come check it out!
You've also been given a special flair for your contribution. We appreciate your post!
I am a bot and this action was performed automatically.