Skip to content

Free games for graphing calculators: NumWorks, TI-Nspire CX, Casio fx-CG50 and soon TI-84 Plus CE. Balatro, Celeste, Hollow Knight, Minecraft and more.

Kingdom Rush: README and how to play

Mason363d6ccec88d36e
diff --git a/docs/play.md b/docs/play.md
index 5a02d196..59f17590 100644
--- a/docs/play.md
+++ b/docs/play.md
@@ -807,6 +807,24 @@ Your icon moves on by itself: jump over the spikes and reach the end. Hold the b
<br clear="right">
+## Kingdom Rush
+
+<img src="../games/kingdomrush/docs/shot.png" width="320" align="right" alt="Kingdom Rush: towers and soldiers holding the Citadel's roads">
+
+| Key | What it does |
+| --- | --- |
+| **Arrows** | Hop between build spots, towers, wave flags and enemies |
+| **OK** or **EXE** | The tower menu: build, upgrade, sell, buy an ability, move the rally point |
+| **1** | Rain of Fire: aim with the arrows, OK to cast |
+| **2** | Reinforcements: aim, OK to call them |
+| **3** or **⌫** | The next wave now, for gold (or OK on its flag) |
+| **Back** | Close the menu, or pause |
+| **Home** | Save and quit |
+
+Enemies walk the roads, and each one that gets through costs lives. Archers and mages shoot, bombards blast what walks, barracks send soldiers to block the road. At level 4 a tower becomes one of two special towers, with abilities to buy. On the map, OK opens a stage and Left / Right picks Campaign, Heroic or Iron: 3 stars in the Campaign open the other two. **0** opens the upgrades: OK buys one with your stars, ⌫ gives them all back.
+
+<br clear="right">
+
## Portal Returns
<img src="media/portal.gif" width="320" align="right" alt="Portal Returns: falling through a portal and flying across a test chamber">
diff --git a/games/kingdomrush/README.md b/games/kingdomrush/README.md
new file mode 100644
index 00000000..e0ae9fe4
--- /dev/null
+++ b/games/kingdomrush/README.md
@@ -0,0 +1,90 @@
+> **Kingdom Rush is a [NumPlay](../../README.md) game that comes on its own.** It is too big to fit next to NumPlay on the calculator. Get `KingdomRush.nwa` from the [latest release](https://github.com/Mason363/NumPlay/releases/latest).
+
+<p align="center">
+ <img src="src/icon.png" width="84" alt="Kingdom Rush icon">
+</p>
+
+<h1 align="center">Kingdom Rush</h1>
+
+<p align="center">
+ <b>Defend the realm with towers, on the NumWorks calculator.</b><br>
+ The 2011 Flash game's 12 stages, each with its Heroic and Iron challenges.
+</p>
+
+<p align="center">
+ <a href="https://github.com/Mason363/NumPlay/releases/latest/download/KingdomRush.nwa"><b>Download KingdomRush.nwa</b></a>
+ &nbsp;·&nbsp; <a href="#controls">Controls</a>
+</p>
+
+<p align="center">
+ <img src="../../docs/media/gallery/kingdomrush.gif" width="640" alt="Kingdom Rush: towers built at Southport and the first goblins">
+</p>
+
+## Highlights
+
+* **The whole free campaign:** Southport to the Dark Tower, with the game's own paths, waves and story, and Vez'nan at the end.
+* **Heroic and Iron challenges** for every stage: 3 stars in the Campaign open them.
+* **Every tower:** archers, barracks, mages and bombards to level 3, then the eight special towers (Rangers Hideout, Musketeer Garrison, Holy Order, Barbarian Hall, Arcane Wizard, Sorcerer Mage, Big Bertha, Tesla x104) with all their abilities.
+* **Every enemy and boss:** 30-odd kinds, from goblins and wulves to dark knights, demons and necromancers, the Juggernaut, J.T. and Vez'nan.
+* **Rain of Fire and Reinforcements,** and the upgrade tree: 30 upgrades to buy with your stars, and to take back.
+* **The game's rules and numbers,** read out of its Flash file: costs, damage, range, armor, speed, bounty, every wave's timing, the gold for calling a wave early.
+
+<table>
+ <tr>
+ <td align="center"><img src="docs/shot.png" width="390" alt="The Citadel's roads held by towers and soldiers"><br><sub>The Citadel</sub></td>
+ <td align="center"><img src="docs/ring.png" width="390" alt="The tower menu around a build spot at Southport"><br><sub>The tower menu</sub></td>
+ </tr>
+ <tr>
+ <td align="center"><img src="docs/map.png" width="390" alt="The map of Linirea, seven stages won"><br><sub>The map</sub></td>
+ <td align="center"><img src="docs/upgrades.png" width="390" alt="The upgrade tree"><br><sub>The upgrades</sub></td>
+ </tr>
+ <tr>
+ <td align="center"><img src="docs/veznan.png" width="390" alt="The Dark Tower, Vez'nan's demons on the road"><br><sub>The Dark Tower</sub></td>
+ <td></td>
+ </tr>
+</table>
+
+## How to play
+
+Enemies walk the roads, and each one that gets through costs lives. Build towers on the spots beside the road with the gold you have, and earn more for every kill. Archers and mages shoot, bombards blast what walks, and barracks send soldiers to block the road: move them with the rally point in their menu. Upgrade a tower to level 3, then pick one of its two special towers and buy their abilities.
+
+Call the next wave early for gold. Rain of Fire and Reinforcements come back on their own after each use. Win a stage with 18 lives or more for 3 stars; stars buy upgrades on the map.
+
+## Controls
+
+| Key | What it does |
+| --- | --- |
+| Arrows | Hop between build spots, towers, wave flags and enemies |
+| OK | The tower menu: build, upgrade, sell, buy an ability, move the rally point |
+| 1 | Rain of Fire: aim with the arrows, OK to cast |
+| 2 | Reinforcements: aim, OK to call them |
+| 3 or ⌫ | The next wave now, for gold |
+| Back | Close the menu, or pause |
+| Home | Save and quit |
+
+On the map: the arrows pick a stage, OK opens it, Left and Right pick the mode, and 0 opens the upgrades (OK buys one, ⌫ gives every star back).
+
+## Good to know
+
+* **Too big to install next to NumPlay.** Your saves in each are kept.
+* **Your stars and upgrades** are saved after every stage, in `kingdomrush.sav` and a copy in `kingdomrush_saves.py`, which comes back after installing apps from the NumWorks website. A stage itself is not saved: Home in a battle leaves it.
+* **Frozen towers:** J.T. freezes towers. Press OK on one three times to break the ice, as the original's three clicks.
+* **New enemies** show their note once, the first time they come, where the original put an icon to click.
+* **No sound:** the calculator has no speaker.
+* **The pictures are the game's,** at 0.4 of their size: the 700 by 600 battlefield fills 280 by 240 pixels, beside a bar with your lives, gold and spells.
+* **Left out:** the three premium stages, heroes, achievements and the encyclopedia.
+
+## Credits
+
+Inspired by Kingdom Rush by Ironhide Game Studio, published by Armor Games. Not affiliated with them.
+
+* The pictures, rules and numbers come from the game's 2011 Flash file: its scripts give the towers, enemies, waves and spells, its shapes are drawn into the pictures, and `tools/pack.py` makes them into `src/data.bin`.
+* The words are drawn in Lilita One ([license](../../LICENSES/OFL-1.1-LilitaOne.txt)) and the DejaVu fonts ([license](../../LICENSES/DejaVu.txt)).
+
+Made by Mason Chen as part of NumPlay.
+
+## License
+
+The game's code is licensed under the GNU General Public License v3.0: see the `LICENSE` file at the root of the repository. The game's pictures keep their own terms (see Credits).
+
+Build: `make` (needs `arm-none-eabi-gcc` and Node.js for nwlink), `make test` on a computer.