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

Strategic Depth Without the Micro-Management

Design your fortress and watch your autonomous units explore, gather, and battle

Game Features

🏰

Strategic Base Building

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

⚔️

Fully Automated Combat

Units fight completely autonomously. Watch them explore, engage enemies, and defend your fortress without any direct control.

🎯

Multiple Game Modes

Classic, One Shot, and Turbo Gatherer modes offer different strategic challenges and playstyles for every type of player.

🤖

AI Opponents

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

🗺️

Billions of Unique Maps

Procedurally generated maps across 4 sizes (up to Huge) create billions of unique strategic challenges. Share seeds with friends or explore randomly forever.

👁️

Dynamic Exploration

Your units automatically explore and reveal the map through fog of war. Strategic building placement determines what gets discovered first.

🎮

Specialized Unit Types

Buildings auto-produce workers, gatherers, soldiers, heavy infantry, and elite warriors - each with unique abilities and resistances.

🌊

Animated World

Fully animated water tiles and dynamic visual effects bring the procedurally generated world to life.

Choose Your Version

Free Version

$0

Forever

  • ✅ Core auto-battler gameplay
  • ✅ Play in browser or desktop
  • ✅ Single-player vs AI
  • ✅ Multiple difficulty levels (Easy, Normal, Hard)
  • ✅ Random map generation (4 sizes including Huge)
  • ✅ Few selected predefined maps
  • ✅ All current units and buildings
  • ✅ 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
  • 🌟 Map editor (planned)
  • 🌟 Steam achievements
  • 🌟 Cloud save progression
  • 🌟 Auto-updates & Steam integration
  • 🌟 Support the developer
Learn More About Steam Release

💡 The entire codebase is open source. Steam version is in development and will provide exclusive content, convenience features, 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

Yes! The free version is fully playable. It includes full auto-battler gameplay, single-player vs AI, unlimited random maps, a few selected predefined maps, and all current units. Play in browser or download desktop builds.

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.