You are a thief in a busy market. Steal the purses, then leave through a gate. The police do not see the market: they know only what the witnesses tell them, and that comes late. Walk with the crowd, and change your coat.
Walk with the arrow keys or W, A, S and D. Hold Shift to run: it is fast, but each citizen that sees you tells the police. Stop next to a gold purse and press Space to steal it. Press C at the Coats stall for a new coat.
A citizen that sees a theft becomes a witness. It stands and calls, and after 1 to 4 seconds its sighting goes to the officer that is nearest to it. Each officer shows the newest sighting that it knows in its data, and the officers that see it learn it. No process knows all the market.
A sighting has the place, the time and the coat of the thief at the moment that the witness saw it. An officer goes to the newest sighting that it knows. When the call is slow, the thief is far from there. At the place, the officer finds nothing, and forgets that sighting.
A citizen notices a person that runs near it, or a person in front of it with the coat of the last sighting. After 20 seconds with no new sighting, the citizens forget that coat. A thief that walks at the speed of the crowd is one person of many. A new coat makes the old sightings false: an officer chases only the coats that it knows.
Each citizen, officer and the thief is a gen_boid process. The force of the thief is a rule of its own, a function that reads your keys. The officers chase with the rule pursue of the library. An officer runs a bit faster than you, but after 6 seconds of a chase it is tired.