ASP-1: The game's field run by ASP: the drive, the bearings, the searchers
Size: W · Needs first: — · Done when: on the Lookout Mountain map, clingo drives one truck to a spot, turns a handful of bearings into a fix, and steps two NPC searchers toward it
Parked 2026-11-01: an idea to come back to, not today's work.
Next step
Write the bearing fix alone as a clingo program: a few bearings as facts, each with a trust
weight, #minimize over the cells they miss, and check it against plingo on the laptop.
Parts
Tick when it's in the bin; write "ordered YYYY-MM-DD" after an item on order.
- ☐ (clingo, plingo in khel's devShell; the static clingo already in the game's export)
Ideas (2026-11-01)
The game (khel) is overlanding and radio, ARDF and SAR: not two (advaita). Three layers, each ASP, each one the player could hand to the solver or to an NPC:
- The drive. Route choice over the road graph: grades, washouts, what the rig can take, as constraints. Timing, if it matters, with clingo-dl (difference constraints).
- The bearings. A fix from bearings of uneven trust: off a ridge, a relay passed along,
maybe an echo off rock. LP^MLN's most probable answer is
#minimizeover log weights, so the shipped clingo does it; plingo (Python, so laptop only) is the reference and gives marginals ("30% it's in this drainage"). - The searchers. NPCs with positions, radios, rigs and skills as facts; multi-shot clingo advances the field a step at a time: who moves, who hears whom, who relays. telingo if the time steps get elaborate.
Also a research question in its own right (applied ASP): coordinating a search. And beyond the game, the same layers as real assistive technology in the field: a co-driver for the route, a helper for the bearings, a planner for a team.