With your agent or no coding
Make
Pick a console look and ask your coding agent for it, or draw it and give it rules in the editor. When it's ready, send it to the Library.
Make your own game
pinyol is designed to be used with a coding agent such as Codex or Claude Code. The agent reads the repository's instructions, asks you at most five questions (graphics, logo, universe, cover and where it will live), decides the rest, follows the recipe for the look you ask for and tests the game before handing it over.
Get the engine
On a Mac with Homebrew, or on Linux.
git clone https://github.com/ipaud/pinyol.git cd pinyolAsk your agent
Open the folder in your agent and tell it what you want, in your own language.
Make me a platformer with a Game Boy look: a mouse looking for cheese in a library.Play it
On the computer, or send it to the console over USB.
./build/pinyol_sim --game games/raton
What the engine brings
All of this works the same on the console, the computer and in the browser, and your agent knows it because it is in the repository's instructions.
Picture
A virtual console like the Game Boy Advance: 240×160 with four layers, 128 sprites, palettes, transparency and per-line effects, and on top, text and panels at 480×320. Also PlayStation-style textured 3D faces, lights, particles and cut-out animation.
Worlds
Mode 7, first person in the style of Wolfenstein 3D, voxel landscapes, grids with field of view and pathfinding, generated dungeons, swarms of hundreds of bullets and levels drawn in Tiled or LDtk.
Sound
Sound effects made from recipes or from numbers, four synth voices like the Game Boy Advance's, instruments, PlayStation reverbs, layered music that changes on the bar line, and .mod, .xm and .s3m modules.
The studio
A step sequencer inside the audio: tracks of sounds and an acid bass like a TB-303's, with echo, reverb and Lo-fi GBA. Every step sounds on its exact sample, and a new pattern comes in right on the next bar.
The console
Touch screen with a stylus and several fingers, microphone, the LED and the battery, video from the card and games between nearby consoles, no router. The menu opens over any game, with settings, favourites and achievements.
Text and quality
textbox fits text into its box, textw measures it before drawing it and the box library makes frames as big as their text. The simulator checks in Spanish, Catalan and English that nothing is cut, that nothing flashes dangerously and that pictures are fast on the console, and bots play every demo to the end.
For coding
Lua, with more than thirty libraries built in: physics, particles, stories, camera, scenes, artificial intelligence, generated levels, Celeste's movement and the adventure kit. Games save without freezing, a script tests every game by itself and a profiler says where the time goes.
Twelve looks, one engine
Each cartridge is a playable example that follows its console's rules: resolution, colours, layers. Play with the keyboard (arrow keys, Z and X) or the on-screen buttons on a phone. The fps figures were measured on the real console, during play.
-

1990 · huge hand-painted sprites
Neo Geo
A run and gun: cooks against mechanical seagulls, with a tractor and a boss.
- 36–59 fps on the console
- AI-generated art
-

1993 · fifteen colours per character
CPS2
A clockmakers' beat 'em up: three heroes, broken automata that drop parts and a pendulum boss.
- 33–60 fps on the console
- AI-generated art
-

1998 · four greens, a world of screens
Game Boy
A Zelda-style adventure: an island, a cave, a boss and dialogue.
- 53–60 fps on the console
- drawn with code
-

1982 · two colours per block
ZX Spectrum
Eight rooms of a mine, with tape loading and colour clash.
- 58–60 fps on the console
- drawn with code
-

2015 · 128×128 · sixteen colours
PICO-8
A sliding puzzle through tombs, in this fantasy console's palette.
- 56–60 fps on the console
- drawn with code
-

1980 · figures that light up
LCD handheld
A juggler, a clock and two games, one figure at a time.
- 58–60 fps on the console
- drawn with code
-

1997 · 256 colours, translucent lights
PlayStation · Saturn 2D
A lighthouse on a stormy night: translucent light, ánimas and a giant octopus.
- 30–57 fps on the console
- AI-generated art
-

1991 · speed and per-line scrolling
Super Nintendo · Mega Drive
A three-year-old hero runs, jumps and scoots across a giant playroom.
- 36–59 fps on the console
- AI-generated art
-

1979 · only glowing lines
Vector
A shooter down a well made of lines, with a menu that shows how the beam draws.
- 54–60 fps on the console
- drawn with code
-

2001 · layers, sprites, rippling water
Game Boy Advance
A loot platformer in four worlds, with parallax, rippling water and a boss.
- 49–60 fps on the console
- drawn with code
-

1985 · rotated screen
Vertical arcade
A fireworks rocket climbs the sky among lanterns and bullets, with the console on its side.
- 47–60 fps on the console
- drawn with code
-

1992 · Wolfenstein 3D style
First person
A night watchman with a candle crosses cava cellars full of ghost corks.
- 42–58 fps on the console
- drawn with code
No coding · in the browser
The editor
Draw your characters pixel by pixel, paint the maps, set the rules with blocks and play straight away. Start from scratch or from a template such as Abella or LÍNEA 0.
- Console look Game Boy, Game Boy Advance, PICO-8, ZX Spectrum or 16-bit, with its colours and font
- Drawings that move pixel by pixel, from the front, the side and the back, with animations to walk, take a hit or do up to six actions
- Rules with blocks lives, countdowns, dialogue, turning towards someone, saved high scores and blinds between levels
- Sound effects from recipes, music composed on a grid, or a .mod
- To the console over the USB cable, or as a .zip for the microSD card
- In three languages castellano, català and English
The ladder: five requests
From simplest to hardest. A clean clone of the repository, one request at a time and no questions answered: Codex read AGENTS.md, built the engine, followed the recipe for the look and wrote a script that plays its game, iterating until it passed. Each game was then measured on the console, running that script. Codex 0.155 with gpt-6-sol, medium reasoning. (The requests were written in Spanish and are translated here.)
| 1 · Paletes | 3 min 30 s · 61 fps |
|---|---|
| 2 · Ratón de biblioteca | 4 min 49 s · 59 fps |
| 3 · Oxígeno 48K | 5 min 2 s · 30–60 fps |
| 4 · Museo de medianoche | 6 min 8 s · 42 fps |
| 5 · Ardilla Relámpago | 18 min 34 s · 59 fps |
-

Level 1 · Vector
Paletes
Make me a Pong game against the console: two paddles, a ball and a score, first to 7 points. Don't ask me anything, you decide.
- 3 min 30 s
- 29 commands
- 73k tokens
- 61 fps on the console
No touch-ups.
-

Level 2 · Game Boy
Ratón de biblioteca
Make me a game with a Game Boy look: a mouse that roams a library, jumping between shelves and picking up bits of cheese, with cats on patrol. Make it work and look good. Don't ask me anything, you decide.
- 4 min 49 s
- 29 commands
- 78k tokens
- 59 fps on the console
Touched up afterwards: full screen, without the console bezel.
-

Level 3 · ZX Spectrum
Oxígeno 48K
I want a game with a ZX Spectrum look, including its tape loading screen: an astronaut on a space station collecting oxygen tanks before the air runs out, dodging robots. Don't ask me anything, you decide.
- 5 min 2 s
- 40 commands
- 104k tokens
- 30–60 fps on the console
Touched up afterwards: the title screen's title, and the text kept inside its boxes.
-

Level 4 · First person
Museo de medianoche
Make me a Wolfenstein-style first-person game: a museum at night where you look for five stolen paintings while dodging the guards. Don't ask me anything, you decide.
- 6 min 8 s
- 33 commands
- 84k tokens
- 42 fps on the console
Touched up afterwards: the text on the end screen.
-

Level 5 · Mega Drive
Ardilla Relámpago
Make me a speed platformer with a Mega Drive look: a squirrel running along a coast with ramps and loops, several background layers scrolling at different speeds, the sea in the background rippling line by line, enemies and fruit to collect. Make it run fast and look good. Don't ask me anything, you decide.
- 18 min 34 s
- 102 commands
- 252k tokens
- 59 fps on the console
Three requests: the game (4 min 41 s), its AI-generated art (10 min 8 s; it then ran at 30 fps), and getting it to 60 fps on the console with its own ground layer (3 min 45 s). No touch-ups by hand.
Send it to the Library
When your game is ready, send it with the form: a robot opens it and plays it for ten seconds, and once we have reviewed it, it can be played on the site and downloaded for the console.
Want to send a new version of a game that is already in the Library? Send the form again, from the same GitHub account and with the same ID (the id in your game.json): once approved, it replaces the old one, and anyone already playing keeps their saved games. The game's page can take a little while to show the changes.
Is something of yours here without your permission, or something that shouldn't be here? Ask us to take it down (opens in a new tab).


