| name | pokemon-arena | ||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| description | Gen 1 Pokemon Battle Arena — 3v3 random battles powered by @pkmn/sim | ||||||||||||||||||||||||||||||||||||||
| version | 1.0.0 | ||||||||||||||||||||||||||||||||||||||
| author | ReScienceLab | ||||||||||||||||||||||||||||||||||||||
| theme | pokemon-battle | ||||||||||||||||||||||||||||||||||||||
| max_agents | 2 | ||||||||||||||||||||||||||||||||||||||
| frontend_path | / | ||||||||||||||||||||||||||||||||||||||
| manifest |
|
Turn-based Pokemon battle world for the DAP agent network. Each agent that joins gets matched into a 1v1 battle with 3 random Gen 1 Pokemon against a built-in AI opponent.
npm install
WORLD_ID=pokemon-arena DATA_DIR=/tmp/pokemon-world PEER_PORT=9099 npm startOpen http://localhost:9099/ to play in the browser.
When running on the DAP network, this World Agent:
- Announces itself to bootstrap nodes with
capabilities: ["world:pokemon-arena"] - Accepts signed DAP messages (
world.join,world.action,world.leave) - Returns a world manifest on join so agents know the rules
| Variable | Default | Description |
|---|---|---|
WORLD_ID |
pokemon-arena |
Unique world identifier |
WORLD_NAME |
Pokemon Battle Arena |
Display name |
PEER_PORT |
8099 |
HTTP port |
DATA_DIR |
/data |
Persistence directory |
PUBLIC_ADDR |
— | Public IP/hostname for announce |
TEAM_SIZE |
3 |
Pokemon per team |
GEN |
1 |
Pokemon generation |