Pixel Fortress

Build Smart. Let Them Fight.

100% Open Source Auto-Battler

Base Building • Automated Strategy • Pixel Art

No download required • Play in browser • Full GPL v3 source code

Strategy Without the Grind

Design your fortress. Watch your units do the rest.

Game Features

🏰

Strategic Base Building

Construct lumber mills, mines, and barracks. Manage resources and expand your fortress.

⚔️

Fully Automated Combat

Deploy units and let them fight. Zero micromanagement required.

🎯

Multiple Game Modes

Classic, One Shot, and Turbo Gatherer modes for different playstyles.

🤖

AI Opponents

Battle against up to 3 AI opponents with adjustable difficulty (Easy, Normal, Hard).

🗺️

Billions of Unique Maps

Infinite procedurally generated maps across 4 sizes.

👁️

Dynamic Exploration

Units auto-explore. Building placement determines discovery order.

🎮

Specialized Unit Types

Lumberjacks, miners, soldiers, archers, mages — each with unique skills.

🗼

Defensive Towers

Auto-targeting towers that shoot down enemies. Hold chokepoints and defend.

🔱

Building Specialization

Upgrade buildings into specialized variants. Shape your strategy.

🌊

Animated World

Fully animated environments with dynamic visual effects.

Choose Your Version

Free Version

$0

Forever

  • ✅ Core gameplay
  • ✅ Play in browser or desktop
  • ✅ Single-player vs AI
  • ✅ Different game modes for different challenges
  • ✅ 3 difficulty levels
  • ✅ Procedural map generation (from small to huge)
  • ✅ Selected predefined maps
  • ✅ All units, buildings, upgrades
  • ✅ Map editor — create and export your own maps
  • ✅ Full source code (GPL v3)
  • ⚠️ Local save progression only (desktop apps)
Play for Free Now
Planned

Steam Premium

Coming Soon

One-time purchase (planned ~$4.99)

  • ✅ Everything in Free version
  • 🌟 Full campaign mode
  • 🌟 Extensive additional maps
  • 🌟 Exclusive game modes
  • 🌟 Steam Workshop — share and discover community maps
  • 🌟 Steam achievements
  • 🌟 Cloud save progression
  • 🌟 Support the developer
Learn More About Steam Release

💡 The entire codebase is open source. Steam version is in development and will provide exclusive content, Steam integration, and helps fund future development of the game. No release date yet - stay tuned!

100% Open Source

Every line of code is public under the GPL v3 License. Learn from it, contribute to it, or build your own version.

📖 Transparent Code

All game logic, premium features, and systems are visible on GitHub. Nothing is hidden.

🤝 Community Driven

Contributions welcome! Add features, fix bugs, create maps, or improve documentation.

🎓 Educational

Learn game development by studying a complete auto-battler implementation in vanilla JavaScript with PixiJS.

🔓 Freedom

GPL v3 ensures derivative works remain open. Fork, modify, and share freely.

Steam Version Coming Soon!

The game is being prepared for Steam release (no date announced yet). It will be available on Windows and Linux.

Planned Steam features:

  • Exclusive content - Numerous exclusive maps, full campaigns, unique game modes, and more!
  • Cloud Saves - Steam API integration for persistent progression across devices
  • Achievements - Track your accomplishments
  • Convenience - One-click install, auto-updates, potential Steam Workshop support

And last but not least: the Steam version supports the creator! Your purchase directly funds new features and content.

Play Anywhere

Frequently Asked Questions

The free version is 100% free, forever. No ads. No pay-to-win. All core gameplay, unlimited random maps, different game modes. Play in browser or on desktop. The Premium Steam version adds extra maps, exclusive game modes, cloud saves, and achievements.

The free version includes the complete game with a selection of predefined maps and local saves on desktop apps. The planned Steam version will add cloud saves across devices, Steam achievements, extensive additional premium content (maps, game modes, campaign), and will help sustain ongoing development of the game.

Technically yes! The code is 100% public. However, you won't get Steam features like cloud saves and achievements without the Steam API. Most players prefer the convenience of Steam.

Fork the repository on GitHub, make your changes, and submit a pull request. See CONTRIBUTING.md for guidelines. Contributions to all features (including premium) are welcome!

Yes! The game is actively developed. The free version receives core updates, bug fixes, and new features. When released, the Steam version will include extensive additional premium content including campaigns, exclusive maps, game modes, and continuous updates.