How to Vibe-Code a Game With a Coding Agent and Orauria Art

Let a coding agent write a small game engine while Orauria generate_image and generate_video supply art and an optional trailer you review.

admin

Author

6 minutes read
Build with Orauria cover: a red panda in a cream sweater on a forest-green background, with the headline Vibe-code a game with Orauria art

A coding agent can write a surprising amount of a small game: rules, a turn loop, a simple opponent, a screen you can click. Orauria’s place in that project is the art — generate_image for characters, boards, and interface tiles, and, if you want a short trailer, generate_video plus get_task. Orauria is not a game engine. It will not run your match, balance your dice, or host players.

This is not a timed build and not a claim that a commercial title came out of one prompt. The fictional example is Briar League, a turn-based garden-ball game with two made-up sides, the Moss Caps and the Hill Wrens. The features below are a backlog to ask for, not a game that was shipped in this session.

What you need

Item Where it comes from Notes
A coding agent Cursor, Codex, Claude Code, or another agent you review It writes the engine; you still play and reject bugs
A rules sketch You How a turn works, how you win, what you will skip in v1
A development environment Your machine, then a host if other people will play Start local
An Orauria account Studio and, optionally, MCP Art, and an optional trailer
Chrome extension AI Assistant Copilot – Orauria Image to prompt, about 0.06 credits
Orauria MCP, optional http://orauria.com/api/mcp generate_image, generate_video, get_task, list_models

Step 1. Write the rules before the agent writes a sprite

Illustration of a red panda in a cream sweater on a forest-green background, with the headline Rules before code.
Illustration. A short rules file is cheaper than a week of rework.

Briar League should exist as a one-page rules file first: a pitch is a turn, each side has a handful of roles, a roll plus a modifier decides a tackle, and the first side to a stated score wins. Write what v1 will not include — online matchmaking, a season mode, paid cosmetics — so the agent does not invent them.

If your game borrows a public-domain idea, say so in the file. If it is close to a commercial title, change the theme, the names, and the systems until it is yours. Do not ask the agent to recreate another company’s board, characters, or trademarks.

A research pass can help you collect terminology. It is not a substitute for a rules file you have actually read.

Step 2. Let the agent write the engine in thin slices

Ask for a playable slice, not a vertical-slice trailer. First, a board you can see and a turn you can take. Then an opponent that follows the rules, even if it plays poorly. Then a way to start a new match. After each slice, you should be able to play it. If you cannot, stop and fix that slice.

Keep assets out of the first slice if you can: colored rectangles are enough to prove the turn works. When the loop is stable, replace the rectangles with art. That order matters. Art first is how a project spends a week polishing a board that does not yet have a legal move.

Secrets, if you later call Orauria from a tool in the repo, stay in process.env.ORAURIA_TOKEN. Public examples use YOUR_ORAURIA_TOKEN. The endpoint in this post is written as http://orauria.com/api/mcp.

Step 3. Generate a small art set and keep it consistent

Illustration on a forest-green background with the headline The agent writes the engine.
Illustration. Rectangles first, then a short, consistent art list.

Make a short list: two team marks, a few character portraits, a board or pitch, and a handful of interface tiles. Generate them in Studio or through generate_image, and poll get_task until is_final is true. Official docs do not publish a required poll interval, so use a short gap and stop when the job is final. A TT Image 2.5 still is about 0.02 credits; a full commercial art bible is not the goal of v1.

For consistency, pick one character or object as a reference and attach it in Studio when you generate the next pose — the same habit as How to Keep Product Identity Stable. If you have a style picture you can credit, run Image to prompt and rewrite the brief for Briar League. Do not copy another game’s look.

Leave typography out of the model when you can. Add scores and button labels in the engine, where you can spell them.

Step 4. Play it yourself, then decide whether you need a trailer

Illustration on a forest-green background with the headline Orauria is not a game engine.
Illustration. Orauria supplies pictures. The match still runs in your app.

Automated play-outs can find illegal states. They will not tell you that a turn is confusing or that a portrait does not match the unit it is attached to. Play a few complete matches. Write down what broke. Ask the agent to fix that list, then play again.

If you want a short trailer, treat it as a separate workflow: a still you already like, a prompt, generate_video, and get_task, as in How to Build a Small AI Video Workflow. Watch the clip before you attach it to a page. Orauria still is not hosting the game.

Going live for other players means a host, a way to save a match, and a willingness to patch what they break. That is your project, not an Orauria feature.

Practical notes

  • Rules first, engine second, art third.
  • Orauria is not a game engine, a physics library, or a multiplayer host.
  • list_models is how you pick an image or video model.
  • Image to prompt is about 0.06 credits; a TT Image 2.5 still is about 0.02 credits. Video costs vary; check before you batch.
  • Do not use another game’s characters, marks, or interface.
  • Disclose AI-generated art in the credits if you ship the game.

FAQ

Do I need to know how to code?

You need to be able to run the project, play it, and tell the agent what broke. You do not have to write the engine by hand. You still own the result.

Can Orauria generate the game as a playable file?

No. It can generate stills and optional clips. The playable part is what the coding agent writes and what you run.

How do I keep characters consistent?

A reference image, a short style brief, and a habit of rejecting drift. There is no guarantee of a perfect match on the first try.

Should I host it publicly on day one?

Start local. Invite a small group when the turn loop is stable. A public server is a later decision.

Which coding agent is best for games?

Use the one you already review well. This post does not rank vendors.

Start here

Write a one-page rules file for a tiny match you can finish in a few minutes. Ask your coding agent for a board and one legal turn, with no art. Install AI Assistant Copilot – Orauria, generate two team marks in Orauria Studio, and swap them in only after you have played a full match.

If you later want a public page where people sign up for a playtest, the phases in How to Vibe-Code Your Own Booking Page still apply. For calling MCP from an app, keep the token on the server as in How to Call the Orauria MCP from a Shopify App.

Related articles

Same category Build with Orauria