Compile & Defend

Compile & Defend

Codx.io

1,0

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.

Date de sortie : 23 Juil., 2026 Puis-je faire tourner ce jeu ?

System Requirements

Exigences minimales

SE : Windows 10 (64-bit)
Processeur : Intel Core i3 or equivalent (any x86-64 dual-core)
Mémoire : 1 GB RAM
Graphiques : GPU with Direct3D 12 / Vulkan 1.0 support (Intel HD Graphics 500-series or better)
Stockage : 150 MB available space

Exigences recommandées

SE : Windows 11 (64-bit)
Processeur : Intel Core i5 or equivalent
Mémoire : 2 GB RAM
Graphiques : Any dedicated GPU or modern integrated graphics
Stockage : 200 MB available space

About This Game

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.

Share Your Experience

Help other gamers! Share how this game runs on your setup, share tips, or ask questions.

Please log in to share your experience with the community!

Legal Disclaimer

Les informations sur le jeu, les images, les descriptions et la configuration système requise affichées sur cette page proviennent de plateformes tierces et n'appartiennent pas à Can I Run It. Nous ne sommes ni affiliés, ni approuvés, ni liés aux développeurs, éditeurs ou distributeurs du jeu.

Can I Run It est un service de vérification de compatibilité système qui aide les utilisateurs à déterminer si leur matériel peut exécuter des jeux spécifiques. Nous ne vendons, ne distribuons et n'hébergeons aucun contenu de jeu.

Toutes les marques commerciales, marques déposées, noms de produits et noms de sociétés ou logos mentionnés ici sont la propriété de leurs propriétaires respectifs.

Si vous pensez qu'un contenu affiché viole vos droits de propriété intellectuelle, veuillez nous contacter à [email protected] avec les détails pertinents, et nous répondrons rapidement à vos préoccupations.