Skip to content
Finalist

AI CITY

AI City é jogo educativo de gestão urbana que ensina pessoas iniciantes a criar instruções melhores para inteligência artificial.

Core trick

An LLM maps spoken or written mission instructions to structured intents, then deterministic rules score criteria and update the 3D city.

Tags

Description

AI City é jogo educativo de gestão urbana que ensina pessoas iniciantes a criar instruções melhores para inteligência artificial. Em cidade 3D interativa, jogador assume papel de prefeito e enfrenta quatro missões envolvendo educação, mobilidade e infraestrutura. Cada missão aceita instruções escritas ou faladas. OpenAI interpreta semanticamente intenção do jogador, enquanto regras determinísticas avaliam critérios e transformam cidade com efeitos visuais. Instruções vagas produzem resultados incompletos; prompts com objetivo, contexto e restrições claros geram soluções melhores. Experiência combina Next.js, TypeScript, Three.js e APIs da OpenAI para transformar aprendizado sobre IA em consequências visíveis. Em vez de explicar engenharia de prompts por meio de teoria, AI City permite aprender fazendo, corrigindo e observando impacto de cada decisão.
ToledoVitor/ai-city★ 00 forksTypeScriptApache-2.0Created Aug 19, 2026 · last push Aug 27, 2026

README excerpt

# AI City

AI City is a bilingual educational mayor game. Players explore a low-poly Three.js city, choose any of four independent civic-learning missions, receive server-authoritative incremental feedback, and see residents and city state respond.

Journey: language and name → explorable city → player-chosen housing, hospital, urban-repair, or school mission → checkpoint feedback → another mission or continued exploration. Recommendation stays optional and never locks choices.

## Current release status

Code is prepared under Apache-2.0. Bundled CC0 city models and audio have source/license records. Current branding is a source-authored HTML/CSS wordmark. Current tree and current-tag source archives contain no legacy logo PNG, and project asserts no rights over it. Historical Git revisions predate exclusion and are not release artifacts; rewriting shared history is intentionally outside this release. See [ATTRIBUTIONS.md](ATTRIBUTIONS.md).

No screenshot is bundled; release contains only audited media listed in [ATTRIBUTIONS.md](ATTRIBUTIONS.md).

## Local setup

Requires Node.js 22.13 or newer.

```bash
npm ci
cp .env.example .env.local
npm run dev
```

Open localhost URL printed by dev server. `OPENAI_API_KEY` is optional for entry, exploration, copy, and deterministic domain tests. Keep it server-only; never create `NEXT_PUBLIC_OPENAI_API_KEY`.

## Safe provider testing

Automated tests are offline and deterministic. Vitest deletes `OPENAI_API_KEY` and blocks network req

Team