Загрузка видео...

Не удалось загрузить видео

На главную

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?

Похожие видео