gamesteel
v0.10.0
Published
The Gamesteel program your AI agent starts, and the command that sets it up in Claude Code, Codex, Gemini CLI, VS Code and 25 more. The work runs on your machine; the website keeps your games.
Maintainers
Readme
gamesteel
The Gamesteel program, and the command that sets it up in your AI agent. Gamesteel makes 2D, 2.5D and 3D games that play in the browser, and your own agent builds them through its tools. Your agent starts this program on your machine, where the work runs (painting, sound, playtests, app builds), and the website keeps your games. The program signs in to it once.
npx gamesteel@latest connect # the agents it sets up, and how each stands
npx gamesteel@latest connect claude # set one upWhat's new in 0.10.0 (2026-11-24)
Runs engine 0.12.0. It needs Node.js 22.13 or newer.
New
- Scripts run as the browser's own JavaScript, in a sandbox: about twenty times faster than before, so games can keep far more things alive and do more work each tick.
- Several cameras: a level can split the screen, put one camera's picture inside another, and use orthographic and turned cameras. Cameras can draw into render targets, and screen shaders can read the depth and the normals of what was drawn.
- Material shaders for 3D things, geometry built while the game runs, lit and instanced boxes and balls, and shaded bulk drawing in 2D. A frame may draw up to 1,024 shader calls, and up to 64 shaders over each camera's picture.
- Physics: 2D rigid bodies and joints, and tile outlines (
outline floor,outline ceilingoroutline polygon) so tiles can be slopes and other shapes. In 3D, forces and joints. - Live audio: buses with effects that move while the game plays, synth notes played live from a script, several music channels at once, and sound meters a script can read as input.
- Online: rooms tick on the server, run their own timers, and play lockstep matches.
- Script packages:
library packages,library package,library publish,library unpublish,library exportandlibrary importshare scripts between games. - Engine choices as a game's own settings, and the device's facts in
game.device. - Art may be 2,048 pixels a frame, and an animation too big for one sheet goes onto more sheets by itself.
- A game script's
whileEnded(dt)runs once the game is won or lost, so an end screen's buttons work. A burst org.particlesdraws up to 1,000 particles. A block kind takesfrictionfrom 0 to 2.
Changed
- Replays, digests and films recorded before are recorded again: the Math functions (
sin,cos,pow,exp,logand the like) and**now give the same last bits in every browser, which can differ from before in the last bits. - Errors a script catches now say the same words in every browser, with new canonical words such as "undefined has no properties" and "not a function or not iterable". Compare caught errors by these words.
- Limits have words now: a call is stopped after 50,000,000 loop turns and calls or 1,000 calls deep, a script's state may hold 32 MB, one call may make at most 256 MB in pieces of 64 KB or more, an array buffer holds at most 16 MB, and JSON and kept fields nest at most 1,000 deep.
- A few things in scripts are refused with words when the game is read:
\p{...}in patterns,yield*in an async generator, andusingdeclarations. Write\p{...}classes out as ranges, loop withfor awaitinstead ofyield*, and close what ausingholds in afinally. - Built-ins newer than Safari 17.4, Chrome 123 and Node 22.13 are not there, so games run the same everywhere: those versions are the floor.
- Paintings, model scripts and sound and song scripts run like game scripts:
Dateand timers are not there. Paint, model or design again a piece that used them. - The game's own objects (
game.ui,game.turns,game.ads,game.online,game.prefs,game.purchases,game.effects,game.atmosphere,game.graphics) are frozen: keep a script's own values in its fields. - In a 3D game, drawing is the game's own:
game.graphics.setsets every lever of the picture, andprefs.qualityis gone. A game that sets nothing draws as before. - A banded style now reads a level's
ambient;drawruns once a tick and forgets the fields it changes; a new level starts a 2D or 2.5D camera at its first framing at once; a level may place at most 2,048 things; a 3D game holds at most 1,024 dynamic bodies at once. When a game moves to this engine, the program names each place these changes touch. - A block kind's property called
friction, or a tile kind's calledoutline, is now the engine's word: rename it. Adepthin a world drawing now sorts it among the things. A film hears a mixer fade as the game plays it, so listen again where a film fades. game.online.download(url)reads only an address the game's server gave it, never one a script names itself.
Fixed
- What an online game heard while its world was held (a hit-stop, a slowed time) is heard on the next tick, in order, instead of being lost.
input.rayfollows a rolled ship's camera, and a wide 2.5D plane keeps its drawings' shape at both sides.
Every version's notes are in CHANGELOG.md, which comes with the package.
It sets up 29 agents, each in its own way: Claude Code, Codex, Gemini CLI, Antigravity CLI, GitHub Copilot CLI, VS Code, OpenCode, Claude Desktop, Zed, Goose and more. npx gamesteel@latest connect lists them all with the name to use.
- Each agent starts the program with
npx -y gamesteel@latest. The first time your agent asks it for something, it opens Gamesteel's sign-in in your browser: log in and Allow. - On a machine without a browser, make a key on the editor's Agents page, then run
npx gamesteel@latest connect <agent> --key <your key>: the key goes in the agent's settings asGAMESTEEL_KEY. --site <address>sets an agent up for another Gamesteel website.--printshows what it would write, without writing it. Your agent's settings file is kept beside the new one as<file>.before-gamesteel.- An agent set up with the website's address before is moved to the program when you set it up again.
The program keeps itself up to date. Your agent starts a small shell, which runs the version of the program the Gamesteel website names, and swaps in a new one while your agent works: calls wait a moment, and none is lost. Versions are kept in ~/.gamesteel/programs, two at a time. Only a change to the shell itself asks you to restart your agent's client.
It needs Node.js 22.13 or newer. In Claude Code you can also add it yourself: claude mcp add --scope user gamesteel -- npx -y gamesteel@latest.
Gamesteel is proprietary: copyright (c) 2026 Ricardo Ramos, all rights reserved. See LICENSE for what it lets you do, and dist/THIRD-PARTY-NOTICES.txt for the libraries inside it and their licences.
