David Lightman is a brilliant, bored Seattle high school computer whiz and hacker who accidentally breaches a top-secret military supercomputer named WOPR while searching for unreleased video games. Unaware that the system controls America's nuclear arsenal, David initiates a simulated game of global thermonuclear war against the computer, believing it to be harmless entertainment. As the supercomputer takes the simulation literally and begins preparing actual nuclear retaliation against the Soviet Union, DEFCON levels rise toward World War III. David and his girlfriend must race against time to stop the machine before it triggers armageddon.