The Enterprise is chosen to be the test ship for a new, highly-advanced computer — which proceeds to take control of the vessel and lead it into a deadly war games scenario.