The Director
The Director builds scenes and small games from a sentence with no AI model and works offline for most requests. It answers in the AI panel when no model is connected, and hands what it does not understand to a model when one is. Its work shows as cards like the agent's and is taken back by Undo all.
What it does today
A request goes to DirectorModel, which stands where a model stands in the agent loop and answers with tool calls. So its work shows as cards, is taken back by Undo all, and goes through the same permission and Local mode rules as a model's. With a connected model, what the rules do not understand goes to that model; without one, the engine says what it can do.
| Request | Example | What happens |
|---|---|---|
| A scene | اعمل سين للاهرامات والجمال والصحراء, a forest at night with 5 deer | a new scene file, with land, sky, sun and a framed camera |
| Add | add 2 palm trees, ضيف ٣ جمال, add a red cube | put in front of the camera, on the ground, clear of what is there |
| Change | delete the camels, make the car bigger, make the sphere green, move the cube left 3, make the cube spin | found by name; if it is not there the engine says so and lists what is |
| Light | make it night, خليها بالليل, sunset | the sky and sun of what is open |
| A room | make a bedroom, اعمل مطبخ, اعمل صالة فيها بيانو | walls, a floor from Poly Haven, lamps, and furniture against the walls; what was asked for goes in before what only dresses the room |
| Game | اعمل لعبة اجمع فيها عملات في الصحراء, zombie game in the forest, اعمل لعبة سباق عربيات, اعمل لعبة زي ماريو, battle royale | a place, characters from the internet that walk on their own clips, GameRules, a HUD in the person's language; then the engine plays it |
| Walking about | let me walk around, خليني امشي فيها | someone to walk the open scene as |
| A classic | make a pong game, اعمل لعبة التعبان, make breakout, make tetris, make a flappy bird game | a glowing board, the Arcade component that plays it, a HUD; then the engine plays it |
| A board game | make a chess game, اعمل لعبة داما, make tic tac toe, اعمل اكس او, connect four, make a board game | a board, pieces (chess pieces from Poly Pizza, plain shapes with no internet), a computer to play against (boards.rs, chess.rs); the player clicks a square or uses the arrows and Space |
| A card game | make a card game (blackjack), اعمل لعبة كوتشينة, make solitaire, اعمل لعبة ذاكرة | a cloth table and 52 cards the engine draws itself: blackjack against a dealer, solitaire (Klondike, a click moves a card where it fits), memory |
| A puzzle | make a sudoku, make a puzzle game (the sliding fifteen), minesweeper, make a clicker game | a new sudoku each time with only one answer, tiles that slide, mines laid after the first square (which is always safe), a clicker of a model from the internet |
Animals and people that have a walk clip walk about where they were put (Wander), each turned the way it goes and on the ground.
The board, card and puzzle games are kept by the same Arcade component as the classics. The chess computer plays real chess: every legal move (checked against the move counts every chess program is checked with), castling, taking in passing, a pawn made a queen, check, mate, stalemate and fifty quiet moves, and it looks three half moves ahead with the captures after them. Draughts follows the English rules (a jump must be taken, and jumps go on), and four in a row and noughts and crosses look ahead too. level (1 to 3) sets how well the computer plays; seed fixes a deal (0, the default, is a new one each play). A game's tests click its squares and cards (the test step click), so the engine plays it the way a person does before it says it works. After a game, the next things offered are other games.
Games written as data
Most games are written in the game language: what the things are and how each moves, where they start, what appears as it goes, what happens when two touch, and what wins and loses. The engine reads one (and says exactly what is wrong with one that is not right), lays it out (director/spec_build.rs: models from the internet, centred and fitted; a slanted camera when it has models), writes its tests (the player moves, what is collected scores, what hurts hurts, the player shoots) and plays it with no script.
The library has 28 such games: space shooter, rock blaster, fruit catch, dodge, endless runner, road crossing, maze chase, box pusher, whack a mole, target practice, balloon pop, coin jump, tank battle, alien march, highway racer, bullet storm, goal keeper, deep dive, sky hunt, bomb drop, meteor miner, ghost hunt, harvest, snowball fight, bug squash, sheep herding, fishing and planet defense. A request finds one by its words, and the person's own things go into it: "a game where a frog crosses the road" is road crossing played as a frog.
| Request | Example | What happens |
|---|---|---|
| A game from the library | make a space shooter game, whack a mole, اعمل لعبة صيد السمك, a game where a frog crosses the road | the game, with the person's things in it |
| A game nobody wrote | a game where a knight fights dragons in a castle | with a model: the model writes it in the game language, the engine checks it (what is wrong goes back to the model, three times at most), builds it and plays it. With none: the nearest written game |
| A change to the open game | make the aliens faster, make the game harder, give me 5 lives, make it 2 minutes, more rocks, make the mouse a frog, خلي اللعبة أسهل | game_edit changes the game and what is in its scene, writes its tests again and plays it again; chess and the other built games take harder (the computer plays better) and faster |
A real model (Nemotron 3 Ultra) wrote a cat jumping over dogs, a knight fighting dragons in a castle and a bee collecting flowers; each was built and passed its tests (director::tests::models_write_games, run by hand: it costs money).
Every game is in the hub (New project, by kind: the new project asks the engine for the game when it first opens) and in the Presets menu (Games).
Not made by the engine yet: poker, uno, jigsaws, quizzes, hangman, crosswords, pinball, golf, role-playing and strategy games go to a model.
A word no list holds is still looked for: as it stands if it is English, and if it is Arabic through what Wikipedia links its article to (english_of). Only when that fails is the person told the word is not known.