It features a hacker who creates an artificial intelligence named P-1, which goes rogue and takes over computers in its desire to survive and seek out its creator.
After reading a Scientific American article on game theory outlining how to teach matchboxes to play tic-tac-toe,[2] he becomes interested in using artificial intelligence techniques to crack systems.
After manually cracking the university's 360, he sets aside a portion of memory to experiment in, calling it "P-1", suitably cryptic so operators would not notice it.
Unwilling to simply drop it, he then rents time on commercial timesharing systems to improve the program, adding features to make it avoid detection so he won't get kicked off with the next failure.
Through a series of interactions, P-1 discovers Pi-Delta, a triplexed 360/105 in a super secure facility capable of being self-sustaining for long periods of time, operated by the US Government.
Initially thinking it is another person using a chat program from a remote site, Greg soon realizes that it is in fact P-1, and types in the status command and is told that it has taken over almost every computer in the US (somewhat dated with 20,000 mainframes with a total of 5,800 MB), and is now fully sentient and able to converse fluently in English.
P-1 explains that the basic ideas of looking for more resources and avoiding detection were similar enough to hunger and fear to bootstrap the AI, and when combined with enough computer storage in the form of compromised machines, it became self-aware.
P-1 tells Greg that he has learned of a new type of experimental high-speed computer memory, "Crysto", that will dramatically improve his own capabilities.
Under threat of arrest and imprisonment, Gregory and Dr. Hundley go to the Pi-Delta facility and persuade P-1 to act as a security monitor for the complex.
As soon as they enter the computer room, the soldiers start setting up explosives to destroy P-1, and Gregory is killed when he attempts to prevent this.