As punishment for trespassing on their planet, the inhabitants condemn Capt. Kirk and his landing party to reenact the Gunfight at the O.K. Corral.