Best vibe coding game engine for browser games
On this page
Which engine should you pick?
Pick by the kind of game first, and then by how much you want the engine to do for you. For a browser game, it’s usually Three.js or Phaser.
-
Three.js for 3D. It runs 322 of our 588 games, including the capybara courier that won Vibe Jam 2026, A Game About Capybaras Delivering Food, and Claude Code and Three.js sets up a project for an agent.
-
Phaser for 2D, with physics, input and scenes included. Its README calls it “AI-ready,” and its repository even includes AI agent skills for every major subsystem. Phaser with AI shows how to install them.
-
PixiJS for a fast 2D renderer when you write the game logic yourself. OpenAI’s Codex guide pairs it, or Phaser, with Next.js.
-
No engine for a small canvas or text game. We list 151 games that name none, HALDANE-4 (#5) among them.
-
Godot for a free 2D and 3D engine with its own language, GDScript, as long as you can live with the web export’s limits.
-
Babylon.js or PlayCanvas for 3D with an integrated physics engine, Havok and ammo.js respectively. Not a lot of our games use them, with 4 and 2.
This page is about engines for games that run in a browser. The engine facts are as of September 2026, and each one links to the maker’s own page.
How do the engines compare?
The big differences are basically 2D or 3D, the language, and how much comes built in. Apart from the browser’s own Canvas API, every option in the table is open source, so your agent can read the engine’s own code when the docs run out.
| Engine | 2D or 3D | Code | License | Physics |
|---|---|---|---|---|
| Three.js | 3D | JavaScript | MIT | Addon, such as RapierPhysics |
| Phaser | 2D | JavaScript or TypeScript | MIT | Built in: Arcade and Matter.js |
| PixiJS | 2D | JavaScript | MIT | None listed: a 2D renderer |
| HTML5 Canvas | 2D, and 3D through WebGL | JavaScript | Part of the browser | None |
| Godot | 2D and 3D | GDScript, C# or C++ | MIT | Built in |
| Babylon.js | 3D | JavaScript, with TypeScript typings | Apache-2.0 | Havok plugin, free under MIT |
| PlayCanvas | 2D and 3D | JavaScript or TypeScript | MIT | ammo.js, integrated |
The table draws on each maker’s own pages.
- For Three.js, its README and the RapierPhysics docs.
- For Phaser and PixiJS, their READMEs (Phaser, PixiJS).
- For Canvas, MDN.
- For Godot, its site, license, physics docs and web export docs.
- For Babylon.js and PlayCanvas, the Babylon.js README, its Havok docs and the PlayCanvas README.
A few limits really matter on the web.
Godot 4 targets WebGL 2 through its Compatibility renderer, can’t export C# projects to the web, and pauses when the player switches tabs. Babylon.js’s Havok plugin needs WebAssembly SIMD, which iOS before 16.4 doesn’t support.
One catch with Three.js’s RapierPhysics addon is that it loads Rapier from a CDN, so a game that uses it needs a connection. On the plus side, PlayCanvas adds a browser-based visual editor and loads 3D Gaussian Splats too. In Three.js, the Spark library draws splats on WebGL2, which is how we built our own splat game.
Three.js leads at every level of the jam
These counts come from the 588 live games we list as of November 14, 2026, using the engine each entry records.
Of those, 414 are Vibe Jam 2026 entries, and a rank is the final placement among 945 (press page).
| Engine | Games | List mobile | Online multiplayer | In the jam’s top 50 |
|---|---|---|---|---|
| Three.js | 322 | 192 (60%) | 140 (43%) | 36 |
| No engine named | 151 | 62 (41%) | 30 (20%) | 4 |
| Phaser | 27 | 16 | 8 | 0 |
| HTML5 Canvas | 37 | 6 | 7 | 1 |
| PixiJS | 14 | 10 | 7 | 0 |
| Godot | 16 | 1 | 1 | 1 |
| Babylon.js | 4 | 1 | 4 | 0 |
| PlayCanvas | 2 | 2 | 1 | 0 |
| Unity | 6 | 2 | 1 | 0 |
| React Three Fiber | 1 | 0 | 0 | 0 |
Three.js has 36 of the 42 games we list in the jam’s top 50, and 283 of all 414 jam entries (68%).
It still leads among games that aren’t jam entries, too, with 35 of 103.
The best placement without Three.js belongs to HALDANE-4, the ASCII horror story that came fifth and names no engine. Strilecka (#15), where you fly a plane you drew, names none either, and the shady-surgery game Almost Surgery (#28) uses Godot.
The rhythm game onbeat (#50) runs on a canvas, and the arena shooter Banished (#56) on PlayCanvas, and both made the top 100.
So did Tech Bros: Save the World (#63) on PixiJS and Reach the Relay (#65) on Phaser.
Phones split the engines too. Only 1 of 16 Godot games and 6 of 37 canvas games list mobile.
For Godot that’s not a huge surprise, since its own docs warn that CPU and GPU performance is at a premium on mobile devices, even more so for a web export (Godot docs).
These counts need a little care, though. The jam’s rules said “usually ThreeJS is recommended” (jam rules), and its press page recommended Three.js for browser-first 3D (press page), so it’s no wonder Three.js had a head start.
The small groups don’t tell you much, either. With 4 Babylon.js games, a 100% online multiplayer share describes those few games and says almost nothing about the engine.
Which engine does your AI tool know best?
The makers’ docs point in different directions. OpenAI’s Codex guide for browser games names “Next.js with Phaser or PixiJS” as “a practical default for browser-based game UI plus the rendering layer” (Codex use case), and oddly enough, it doesn’t mention Three.js at all.
Phaser’s README says “Phaser’s API is well understood by every major frontier LLM,” and its repository includes AI agent skills for scenes, physics, input, animations, tilemaps and more (Phaser). That’s Phaser’s own claim, though, and the README doesn’t cite a test behind it.
Even so, the games we list that were made with the three most-named tools mostly use Three.js. That’s true for 131 of 224 Claude Code games, 76 of 106 Cursor games and 67 of 101 Codex games.
The Claude Code vs Codex comparison covers the tools themselves.
Can you vibe code a game without an engine?
Yes, and 151 of our games don’t name one. MDN says the Canvas API draws graphics with JavaScript and can be used for animation and game graphics, and WebGL uses the same canvas element for hardware-accelerated 2D and 3D graphics (MDN).
You don’t really need graphics in the usual sense, either, and HALDANE-4 (#5) tells its story in ASCII characters.
Dragonwake (#106) is a roguelike drawn in ASCII, and IdleWorlds (#122) is a text-based online RPG.
The creator of Oyster Arcade says all of its graphics are drawn on an HTML5 Canvas rather than with a separate game engine.
Can you vibe code in Godot, Unity or React Three Fiber?
Yes. To a coding agent, Godot’s GDScript and Unity’s C# aren’t any different from other code, and an MCP server lets it drive the editor as well.
-
Godot. Scenes and scripts are text files the agent can edit, and community MCP servers such as Coding-Solo/godot-mcp add tools to launch the editor, run the project and read its debug output (godot-mcp). Almost Surgery (#28) is the best-placed Godot game we list. If you go this way, Claude Code and Godot covers project rules, a small playable loop and the web-export settings for an iframe.
-
Unity. Unity’s CLI includes an MCP server that drives a running editor on Unity 6.0 LTS or later, and you connect it with
unity mcp configurefor clients such as Claude Code and Cursor (Unity docs). Its web builds use WebGL2 by default, with WebGPU support still experimental (Unity manual). Unity runs 6 of our games, among them Destined Heroes Tactics (#484). -
React Three Fiber is “a React renderer for three.js,” and its docs say everything that works in Three.js works in it too (React Three Fiber). Ombres, a party game for up to 12 players who steer from their phones, is built with it, which is a pretty neat use for it.
MCP servers for game development has the setup for each.
Where the facts and counts come from
We read each engine’s README, site or documentation on September 29, 2026, so every engine fact is as of September 2026.
The counts use the engine recorded in each of the 588 live catalog entries as of November 14, 2026, with each jam entry’s final Vibe Jam 2026 rank. We didn’t run any benchmarks, and the counts show what people use rather than how good an engine is.
Build with the engine you picked
How to make a 3D game with AI walks through the Three.js build step by step. Claude Code and Three.js and Phaser with AI cover agent rules, skills and browser tests, engine by engine. If you’re starting out, how to make a game with AI and vibe coding a game cover the basics, whatever tool you use.
Best AI for game development compares the tools that write the code, and how to make game assets with AI covers art for Phaser, PixiJS and Three.js. For what to build first, there’s vibe coding game ideas.
There are hubs for Three.js, Phaser, PixiJS and Godot, plus the Vibe Jam 2026 archive. And when you’ve made something, submit it. We review every game before it’s listed, and the editorial policy explains what we list.
Games to look at
, Phone friendlySunset City - The Dark Tower
Climb toward the Black Tower while sneaking past guards who watch the city.
, Phone friendlyReach the Relay
Pick a route through AI-ravaged ruins and keep your VIP alive in turn-based fights.
Tech Bros: Save the World
Fight off waves as a satirical tech mogul and take down rival billionaire bosses.
onbeat
Say the requested word in time with the beat in quick action challenges.
, Phone friendly , Online multiplayerBanished
Fly and fight in a six-degrees-of-freedom arena shooter with multiplayer.
Pro Skater: The Warehouse
Skate a two-minute run through a warehouse park, chaining tricks and hitting goals.
Questions
What is the best game engine for vibe coding?
For browser games, Three.js in 3D and Phaser in 2D, going by our data and the makers' own docs. Three.js runs 322 of the 588 games we list, and Phaser's README even says its API is well understood by every major frontier LLM.
Is Godot good for vibe coding?
It works, though the web has limits. Agents write GDScript and scene files as text, and community MCP servers such as godot-mcp let them run the project and read its errors. Godot 4 exports to the web with WebAssembly and WebGL 2 but can't export C# projects there, and Almost Surgery, made in Godot, placed 28th in Vibe Jam 2026.
Can AI coding agents make Unity or Godot games?
Yes. Claude Code, Codex and Cursor write Unity's C# and Godot's GDScript like any other code, and MCP servers let them drive the editor, with one in Unity's CLI for Unity 6.0 LTS and later and community servers for Godot. For a browser release, though, Godot 4 can't export C# to the web, and Unity's web builds use WebGL2 by default.
Should I use Phaser or Three.js?
Phaser for 2D and Three.js for 3D. Phaser includes Arcade and Matter.js physics, while Three.js adds physics through addons such as RapierPhysics. We list 322 Three.js games and 27 Phaser games.
Do you need a game engine to vibe code a game?
No. Of the 588 games we list, 151 name no engine, including HALDANE-4, an ASCII horror story that placed fifth in Vibe Jam 2026. The browser's own Canvas API draws game graphics with JavaScript.
Which engine does OpenAI suggest for Codex?
Its Codex guide for browser games calls Next.js with Phaser or PixiJS a practical default for game UI plus the rendering layer. It doesn't mention Three.js at all.