正在加载视频...

视频加载失败

Frontier-level agentic capabilities and long-horizon coding, open source and fully private. That's GLM 5.2, now on Venice. Here's a full walkthrough to build a retro video game with GLM 5.2 and OpenCode, starting from a single prompt:

28,201 次观看 • 3 个月前 •via X (Twitter)

11 条评论

Venice 的头像
Venice3 个月前

To try it yourself, here's a prompt template to start with: "Build the CORE of a playable [GAME TYPE] as ONE self-contained HTML file named game.html Core only (we'll add more later — no menus, levels, or sound yet): - [CONTROLS]. - [CORE RULE: what the player does, moment to moment]. - A live score, [N] lives, and "press space to restart" when lives run out. Hard constraints: - A single .html file. No external libraries, CDNs, fonts, images, or audio files. Everything inline (HTML + CSS + vanilla JS, <canvas> for the game). - It must run by just opening the file in a browser. No build step, no server. Look and feel — retro arcade: - A single [PHOSPHOR COLOR] on near-black palette. No other colors. - A blocky monospace font feel (CSS monospace stack, no web fonts). - Center the game on a plain dark background." Then open the file in a browser and confirm it runs.

Venice 的头像
Venice3 个月前

Level it up with more features: "Add a start screen and a win screen. Keep the retro look and everything in the one file." "Add a second level: a new layout that's a bit faster, and show the level on screen." "Add a power-up that drops occasionally and gives [a temporary boost] for 10 seconds." "Add sound with the Web Audio API only (no files): a blip on hits, a tone on losing, a jingle on winning. Add a mute toggle." "Add a high-score saved in the browser (localStorage). Show it on the start and game-over screens." "Wrap the game in a retro CRT computer shell: a chunky bezel, a slightly curved screen with faint scanlines and a soft glow. Keep the [PHOSPHOR COLOR]-on-black palette and keep it all in the one file."

Ragnar 的头像
Ragnar3 个月前

Long-horizon tasks are where things start getting really interesting. Feels like AI is becoming more capable every month.

zak 的头像
zak3 个月前

imagine a world where access ai models is throttled by governments (puke) vvv positioned immaculately

Samian 的头像
Samian3 个月前

open + private + long-horizon actually working? wild. the retro game walkthrough sealed it, definitely trying this

Colbert 的头像
Colbert3 个月前

Finally, I can build my dream RPG without anyone seeing how many times I had to ask for help with basic loops. Privacy is the real MVP here.

Free Law Hacker 的头像
Free Law Hacker3 个月前

It’s honestly ridiculous that you gutted the context from 1M to 500k. As for the output limit? That’s just a joke. ​What good is a powerful model if you artificially cripple its usability?

Kovan 的头像
Kovan3 个月前

super cool

Aero 的头像
Aero3 个月前

👑👑👑

Hans 的头像
Hans3 个月前

Hmm

Michaelkaoi 的头像
Michaelkaoi3 个月前

In free plan?

相关视频