Doctor Who and the Face of Evil
When the Tardis lands on an alien planet instead of Earth, the Doctor befriends Leela, a banished warrior of the Sevateem tribe, and he becomes entangled in a war between two tribes which has been instigated by an all-powerful computer, Xoanon, and he has to battle three enemies in order to set things right.