DEV Community

Sugunah
Sugunah

Posted on

How to use Yoroll Code: your first one-button timing game, designed on paper first

Second in a short Yoroll series. Notes from Yoroll Code's official documentation (LinearGame). Independent write-up; not affiliated with Yoroll. Free cheat sheet and the full starter pack are linked at the end.

Last time I wrote about Yoroll Agent, the branching-film side of Yoroll, and the consequence ledger that keeps its choices honest. Yoroll's other creator tool gets less attention: Yoroll Code (code.yoroll.ai), which turns a written description into a standalone HTML5 mini game — no engine, no build pipeline.

The official guidance for Code is short and unusually practical. Here's the workflow it implies, in the order that actually works.

The brief is three sentences

Yoroll Code's own docs reduce a good request to three things:

  1. The starting scene — where the player is and what they see.
  2. What the player controls — the one verb. Not five verbs. One.
  3. How a round ends — the win, the loss, or the score that stops the clock.

If you can't write those three sentences, you don't have a game yet — you have a theme. Themes are fine; just don't generate from them.

Steal the shape: the one-button timing game

Yoroll's own template library includes a one-button timing game, and it's the right first project because the design has nowhere to hide:

  • Scene: a lighthouse beam sweeping across a harbour.
  • Control: one button. Press to drop the anchor. That's the whole input.
  • Round end: the anchor lands in the moving target zone (win, score by how centred) or misses (round over, show the score, restart in one tap).

Everything else is discipline the official docs are explicit about:

  • State the controls up front. If your game uses arrow keys, say so in the brief, and ask for on-screen direction controls as well — desktop testers have keyboards, phone players don't, and the game has to work for both.
  • A start screen. Not optional polish — the player needs one beat to understand the verb before the timer does.
  • One level, one clear win condition. Scope is the feature. A finished small game teaches you more than an abandoned big one.
  • Iteration is a loop, not a vibe: describe the smallest version, play it, write down the one thing that feels wrong (too fast? target too small? round too long?), change that one thing, play again.

Test the published link, not the editor

The step everyone skips, straight from the docs: after publishing, test the live link outside the editor —

  • on a real keyboard and on touch,
  • at the smallest screen size you expect,
  • with a cold cache, so you see the first-visit asset loading your players will see.

Editor previews forgive everything. Published links don't.

The honest footnote

Yoroll publishes no creator price list for Agent or Code — the official pricing page covers the mobile app's in-app purchases and points creators to the team for billing. So build the small game first, confirm your account's actual pricing in-app, and only then plan anything bigger. Any site quoting you an exact Yoroll creator subscription price is inventing it.


Free: the one-page Yoroll cheat sheet — the 3-step Agent build, the consequence rule, the honest pricing picture: https://payhip.com/b/4Q1B3

Full starter pack: the 16-section tutorial covering both Agent and Code, branch-design templates, 10 prompts, and a complete worked case: https://payhip.com/b/yWgJq

Disclosure: the pack is my own independent product, sold on Payhip. The cheat sheet is free and covers the essentials.

Top comments (0)