-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Josh Dionne edited this page Sep 4, 2026
·
5 revisions
Generated from the thetowersdk repository. Edits made here are overwritten on the next push — change the source file instead.
Game data, save-file reading and the game's own formulas for The Tower, as typed TypeScript — so you can build calculators, planners, spreadsheets, charts and bots without transcribing a single number by hand.
npm install thetowersdk- Game data — labs, workshop, modules, cards, perks, relics, guardians, bots, ultimate weapons and the vault, with their cost curves and effect values, as typed arrays.
-
Save reading — turn a player's
playerInfo.datinto typed values: what they have researched, what they own, what is equipped, their run history. - Formulas — enemy scaling, damage, ultimate weapons, drops and workshop stats, as functions you call with a tier, a wave or a level.
- Charts — every level progression is already a plot-ready series, so the shipped catalogs cover 800 chartable series without you authoring one.
TypeScript, MIT licensed, one runtime dependency (zod).
Pre-1.0. The package is published so it can be installed and exercised, not because the API is settled. Exports may be renamed or removed between releases without deprecation. Pin an exact version if you depend on it.
- Quick Start
- Entry Points
- How It Fits Together
- Getting a Save File
- Reading a Save
- Reading The Community Wiki
- Formulas
- Builders
- Charts
- Effective Paths
- Examples
- Templates
- Building a Bot On This
- Google Sheets
- Desktop and Mobile
- Optional Add-ons
- Using It With An AI Agent
- Using Your Own Artwork
- Names And Acronyms
- Patch Notes
- Accuracy
- Versioning
- Where the Docs Live
- Contributing
- Credits
- License
- 01-browse-game-data.ts
- 02-read-a-save-file.ts
- 03-plan-upgrades-from-a-save.ts
- 04-generate-a-chart.ts
- 05-generate-a-cost-table.ts
- 06-read-the-community-wiki.ts
- 07-format-like-the-game.ts
- 08-build-a-calculator.ts
- 09-build-a-bot.ts
- 10-read-a-sheet.ts
- 11-build-a-knowledge-base.ts
- 12-show-module-and-card-art.ts
Generated from TheTowerSDK — do not edit here. Docs and live demos: https://tmrxjd.github.io/TheTowerSDK/
- Quick Start
- Entry Points
- How It Fits Together
- Getting a Save File
- Reading a Save
- Reading The Community Wiki
- Formulas
- Builders
- Charts
- Effective Paths
- Examples
- Templates
- Building a Bot On This
- Google Sheets
- Desktop and Mobile
- Optional Add-ons
- Using It With An AI Agent
- Using Your Own Artwork
- Names And Acronyms
- Patch Notes
- Accuracy
- Versioning
- Where the Docs Live
- Contributing
- Credits
- License
Guides
Examples
- 01-browse-game-data.ts
- 02-read-a-save-file.ts
- 03-plan-upgrades-from-a-save.ts
- 04-generate-a-chart.ts
- 05-generate-a-cost-table.ts
- 06-read-the-community-wiki.ts
- 07-format-like-the-game.ts
- 08-build-a-calculator.ts
- 09-build-a-bot.ts
- 10-read-a-sheet.ts
- 11-build-a-knowledge-base.ts
- 12-show-module-and-card-art.ts
Templates