I can't remember (possibly not Greg Egan). In case someone else knows, the main plot is that the characters have to act as inhabitants of a primitive village, in a computer game/simulation.
Probably neither of these (depending on your definition of primitive), but they're interesting anyway: