Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

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 Aufrufe • vor 3 Monaten •via X (Twitter)

11 Kommentare

Profilbild von Venice
Venicevor 3 Monaten

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.

Profilbild von Venice
Venicevor 3 Monaten

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

Profilbild von Ragnar
Ragnarvor 3 Monaten

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

Profilbild von zak
zakvor 3 Monaten

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

Profilbild von Samian
Samianvor 3 Monaten

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

Profilbild von Colbert
Colbertvor 3 Monaten

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.

Profilbild von Free Law Hacker
Free Law Hackervor 3 Monaten

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?

Profilbild von Kovan
Kovanvor 3 Monaten

super cool

Profilbild von Aero
Aerovor 3 Monaten

👑👑👑

Profilbild von Hans
Hansvor 3 Monaten

Hmm

Profilbild von Michaelkaoi
Michaelkaoivor 3 Monaten

In free plan?

Ähnliche Videos