Log inGet started
World

Squad Tactics Kit: Turn-Based Grid Battles with Cover, Hit Chances and Computer Opponents

Branchmain
Branchesmain
Commit2f066c4fe4

README.md

rules

tacticsKit.rules: the whole tactics game as pure, deterministic data and functions: Rules.new, reach/path (gridKit board), line of sight and half/full directional cover with flanking, previews from forecastKit (hit %, damage, crit, kill) and Rules.apply, which resolves with forecastKit so every result lies inside its preview; side-by-side or speed-initiative turns, rout and hold wins, encode/decode for the network. Used by TacticsMatch, the AI and the tests.