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.

登入以將此項目新增至您的願望清單、關注它,或標記為已忽略

不支援繁體中文

本產品尚不支援您的目前所在地的語言。購買前請先確認語言支援清單。

此遊戲尚未在 Steam 上發售

預計發行日期: 2026 年 7 月 20 日

此遊戲預計大約於 2 天後解鎖

感興趣嗎?
將這款遊戲加入願望清單,以便在發售時收到通知。
 

關於此遊戲

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 language

There'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 plays

Your 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.

Features

  • Code-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.
  • Easy / Normal / Hard — harder modes are tougher and longer, pushing you into scaled freeplay for the medal. Earn up to three stars per map, including a bespoke coding challenge that rewards a genuinely better algorithm, not just more gold.
  • Ten distinct towers — Arrow, Cannon, Tesla, Sniper, Frost, Venom, Support, Mortar, Chain and Detect, each with its own API: slow enemies, poison them, buff allies, lob splash at a point, chain lightning through a cluster, or reveal camo for your other towers.
  • Eight threats to route around — fast Runners, flying Flyers, armored Brutes, camo Shades, swarming Spawnlings, self-splitting Broods, and the nested Titan boss.
  • Build and share your own levels — draw a map, draft its waves, and share it with a single copy-paste code. An auto-balancer certifies every level is beatable and code-mandatory before you play.
  • Sandbox mode — infinite gold, every enemy on tap, hot-swap your code live. Prototype a controller, break it, fix it.

Everything is deterministic, so a script that wins today wins tomorrow.

Write once. Compile. Defend.

系統需求

Windows
SteamOS + Linux
    最低配備:
    • 作業系統: Windows 10 (64-bit)
    • 處理器: Intel Core i3 or equivalent (any x86-64 dual-core)
    • 記憶體: 1 GB 記憶體
    • 顯示卡: GPU with Direct3D 12 / Vulkan 1.0 support (Intel HD Graphics 500-series or better)
    • DirectX: 版本:12
    • 儲存空間: 150 MB 可用空間
    • 音效卡: Any
    • 備註: Keyboard required — the game is played by writing code.
    建議配備:
    • 作業系統: Windows 11 (64-bit)
    • 處理器: Intel Core i5 or equivalent
    • 記憶體: 2 GB 記憶體
    • 顯示卡: Any dedicated GPU or modern integrated graphics
    • DirectX: 版本:12
    • 儲存空間: 200 MB 可用空間
    • 音效卡: Any
    • 備註: Keyboard required — the game is played by writing code.
    最低配備:
    • 作業系統: Any modern 64-bit Linux (glibc 2.31+) — e.g. Ubuntu 20.04+, Arch / CachyOS (rolling), Fedora 34+, SteamOS 3.0+
    • 處理器: x86-64 dual-core (Intel Core i3 or equivalent)
    • 記憶體: 1 GB 記憶體
    • 顯示卡: Vulkan 1.0-capable GPU
    • 儲存空間: 150 MB 可用空間
    • 音效卡: Any (PulseAudio / PipeWire)
    • 備註: Runs on Steam Deck; an external/on-screen keyboard is strongly recommended, since the game involves typing code.
    建議配備:
    • 作業系統: A current 64-bit Linux — Arch / CachyOS (rolling), SteamOS 3.0+, Ubuntu 22.04+, Fedora 38+
    • 處理器: Intel Core i5 or equivalent
    • 記憶體: 2 GB 記憶體
    • 顯示卡: Vulkan 1.0-capable GPU
    • 儲存空間: 200 MB 可用空間
    • 音效卡: Any (PulseAudio / PipeWire)
    • 備註: Runs on Steam Deck; an external/on-screen keyboard is strongly recommended, since the game involves typing code.
此產品無任何評論

您可以撰寫評論來與社群分享您對於本產品的看法。請使用本頁面中位於購買按鈕上方的區塊來進行評論的編寫。

評論篩選條件