Compile & Defend Demo
A tower defense game where you don't click to shoot — you write code your towers run every tick, in Python, JavaScript, C++, C#, Rust, Zig or Lua. Prioritize threats with if, sweep swarms with for, and route air, armor and camo to the right tower. Better algorithms beat more towers.
- Release date
- July 10, 2026
- Platforms
- Windows, Linux
- Developer
- Codx.io
- Publisher
- Codx.io

Screenshots & videos
Official media supplied by the listed storefronts and publishers.
Screenshots
Videos
About Compile & Defend Demo
You don't place towers. You program them. Compile & Defend is a tower defense game with no click-to-shoot. Every tower on the field runs your code, once per tick. Write a smarter script and your defense gets smarter — write a sloppy one and the swarm walks right through. It's the tower defense game for people who'd rather refactor than micromanage. Write it in your languageThere's no proprietary scripting dialect to learn. You write in a clean subset of a real language you already know — pick from Python, JavaScript, C++, C#, Rust, Zig, or Lua.
They all compile to the same engine; the language only changes how your code is spelled. Switch anytime. How it playsYour program is bound to each tower every tick — me is the tower, me.enemies_in_range is what it can see, me.shoot(target) pulls the trigger. From there it's all you! The closest enemy isn't always the most dangerous one — so the naive shoot the first thing you see script will always get you started, and never win.
Better algorithms beat more towers. FeaturesCode-driven combat — a real (but safe) interpreter runs your script. Clear, line-numbered errors, because debugging is half the genre.A teaching campaign — a seven-stage tutorial walks you from your first shoot to full for-loop swarm control, introducing each threat one step before the tool that beats it.13 campaign maps across three tiers.…
Read the full description on Steam ↗Download Compile & Defend Demo
Continue to an official storefront to download or purchase this title.

Compile & Defend Demo reviews & player comments
Store ratings and available player reviews. Review snapshots show their last refresh date.










Most helpful2
Most recent2