Protecting endangered wildlife starts with knowing where the animals actually are — and that is harder than it sounds, because a camera or a ranger can walk right past a present animal and miss it. This simulation places a grid of camera traps across a virtual reserve, hides a true (unknown-to-you) occupancy pattern in the habitat, and runs repeated survey occasions where each occupied site has only a chance — the detection probability p — of being photographed on any given visit. A live implementation of the MacKenzie single-season occupancy model then estimates both the species' true occupancy and the detection probability from nothing but the resulting 0/1 detection histories, and you can compare its corrected estimate against the naive "sites with a photo" count and, when you're ready, against the hidden ground truth. This is the same statistical machinery real conservation NGOs use to decide where camera-trap grids and anti-poaching patrols are worth deploying.