PL4X is an open source turn-based strategy game framework built on Phaser 3 and TypeScript. It provides a static hex grid with configurable sizes and layout, a full turn-based play loop supporting multiple human and bot players, and a clean separation between game engine and views orchestrated through scenes. Constants are organized across assets, entities, UI, settings, and balancing to make customization straightforward.
The entity and combat systems cover per-unit stats including health, attack, armor, AP, and regen, with support for multiple damage types, ranged attacks, and AoE splash. A movement system handles pathfinding with path highlights and impassable tiles, a spawn system manages adding new entities mid-game, and status effects like daze and burn can be applied to any unit.
The UI layer ships ready to use with core components - Button, Label, Panel, and more - plus pre-built views for the main menu, in-game pause menu, and game over and win overlays. A board VFX system drives animations and particle effects for moves, attacks, and other board events, rounding out a framework designed to give developers a working hex strategy foundation without building from scratch.
PL4X is still in early stages, functional but with ongoing cleanup and features in progress. The 4X label reflects the direction: fog of war, buildings, and the broader genre conventions are on the roadmap, with the goal of having that functionality ready out of the box so developers can wire up what they need. For now it stays intentionally light, with a more traditional full-screen 4X framework planned as a separate project down the line.