The case of the haunted maze