Skip to content

AI Roblox

We built a Roblox-style AI Game Studio where kids can create browser games from scratch using natural language.

Core trick

A FastAPI backend launches codex exec in each game folder and streams run logs while a child's prompt generates browser game code.

Tags

Description

We built a Roblox-style AI Game Studio where kids can create browser games from scratch using natural language. The idea is the following: kids have lots of imagination, but most don’t have access to safe, structured tools to turn ideas into playable games. Our product provides a controlled environment where they can ideate, build, test, and iterate quickly. While doing this, they implicitly learn prompt engineering (how to describe what they want clearly) and debugging (how to spot and fix problems), through hands-on creation instead of traditional lessons.
manfredi31/codex-hackathon★ 00 forksPythonCreated Feb 5, 2026 · last push Feb 5, 2026

README excerpt

# AI Game Studio MVP

A local single-user app to create browser games with Codex, iterate via chat, and play published games.

## Structure

- `frontend/`: React + TypeScript + Vite UI
- `backend/`: FastAPI API and Codex run orchestration
- `games/`: generated game folders (`games/<slug>`)

## Run

1. Backend:

```bash
cd backend
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
uvicorn app.main:app --reload --port 8000
```

2. Frontend:

```bash
cd frontend
npm install
npm run dev
```

Open [http://localhost:5173](http://localhost:5173)

## Notes

- Each generation run spawns:

```bash
codex exec --dangerously-bypass-approvals-and-sandbox --json --cd <gameDir> --output-last-message <runLastMessagePath> -
```

- Run logs are stored in `games/<slug>/.runs/<runId>.jsonl`
- Final Codex message is stored in `games/<slug>/.runs/<runId>.last.txt`

Team