Загрузка видео...
Не удалось загрузить видео
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

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.

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

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

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

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

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.

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?

super cool

👑👑👑

Hmm

In free plan?
