A small traffic problem
Click a neutral square to toggle a wall. D is the dispatch desk. A, B and C are delivery stations. Couriers pick up the next parcel at D, deliver it, then return.
Each tick plans shortest routes. Lower-numbered couriers reserve contested squares first. Nobody swaps through another courier. This simple rule is safe; it can also cause a traffic jam.