How demonincg/dodecadragons works
DodecaDragons is a browser-based incremental game. Players use the game interface to gather resources, buy upgrades, unlock successive systems, and perform resets that exchange progress for higher-tier resources and persistent bonuses. The scripts divide progression across resource and prestige systems, while the main script maintains shared game state and computes resource production. The README gives only the title, and sampled excerpts are partial; later-stage capability nodes reflect the source tree, but uncertain connections between systems are omitted.
Main entry points: script.js Game state and production · index.html Game page · magic.js Magic and resets · sigils.js Sigils and resets
Components 20
Game runtime
- Game page
index.html - Game state and production
scripts/script.js - Pan and render
scripts/render.js - Large-number arithmetic
scripts/break_eternity.js
Early progression
- Gold and miners
scripts/gold.js - Fire upgrades
scripts/fire.js - Alchemy resources
scripts/alchemy.js
Prestige systems
- Magic and resets
scripts/magic.js - Magic challenges
scripts/magicChallenges.js - Sigils and resets
scripts/sigils.js - Holy polyhedrons
scripts/holyPolyhedrons.js - Dragons and time
scripts/dragon.js
Advanced systems
- Knowledge trades
scripts/knowledge.js - Blood progression
scripts/blood.js - Plague progression
scripts/plague.js - Planets and clusters
scripts/planets.js - Nuclear pasta
scripts/nuclearPasta.js - Essences and finality
scripts/essence.js - Achievements
scripts/achievements.js
Other components
- Player
Connections 20
- Player → Game page: plays
- Game page → Game state and production: loads interface
- Game page → Pan and render: loads controls
- Game state and production → Large-number arithmetic: uses arithmetic
- Game state and production → Gold and miners: computes production
- Game state and production → Fire upgrades: computes production
- Game state and production → Alchemy resources: computes production
- Game state and production → Magic and resets: computes production
- Game state and production → Pan and render: updates game view
- Magic and resets → Sigils and resets: unlocks progression
- Magic and resets → Magic challenges: unlocks challenges
- Sigils and resets → Holy polyhedrons: resets resources
- Dragons and time → Game state and production: updates game state
- Knowledge trades → Game state and production: updates game state
- Blood progression → Game state and production: updates game state
- Plague progression → Game state and production: updates game state
- Planets and clusters → Game state and production: updates game state
- Nuclear pasta → Game state and production: updates game state
- Essences and finality → Game state and production: updates game state
- Achievements → Game state and production: uses game state