# Portals

> Place a teal and a magenta portal, then walk, jump and throw cubes through seamless, recursive see-through portals.

Published with AI Game Dev (confirmed by the publisher, not verified by AI Game Dev).

## Facts

- Engine: Three.js
- Author: AI Game Dev
- Genres: Puzzle, Sandbox
- Works on phones: yes
- Download size: 0.7 MB
- Version: 1
- First published: 2026-12-05
- Updated: 2026-12-05
- Plays: 0
- Rating: no ratings yet
- Play: https://portals.ai-play.games/ (The game runs on its own domain; open it in a browser.)
- HTML page: https://ai-game.dev/games/portals

## About this game

The author's description, quoted as written:

````markdown
Two oval portals stand on an endless grey-box grid. Each one shows a seamless, recursive view out of the other, up to six levels deep. You, the cubes and anything you throw pass straight through, and a cube halfway through one portal sticks out of the other.

Place portals on any floor you aim at, grab cubes, and throw them through. Press `G` for debug visuals: colliders, portal planes, the virtual portal cameras and the recursion depth. Until your first input, the game throws cubes through the portals by itself.

Made with the AI Game Dev CLI: every line of code, shader and sound was written by its agent. There are no asset files; geometry, materials, effects and audio are all generated in code.
````

## Controls

The author's controls, quoted as written:

````markdown
- **Start:** click to capture the mouse
- **Look:** mouse · **Move:** `W A S D` / arrows (`Shift` to sprint) · **Jump:** `Space`
- **Teal portal:** left click / `Q` / `1` · **Magenta portal:** right click / `2`
- **Grab or drop a cube:** `E` (or `F`); left click throws it
- **Reset:** `R` · **Debug:** `G` · **Hide HUD:** `H` · **Mute:** `M`
- **Touch:** drag on the left half to move, on the right half to look; on-screen buttons place portals, grab and jump
- **Autoplay:** open with `?demo=1`, press `D` before capturing the mouse, or tap **DEMO**
````
