Ayer wrote the submarine thriller U-571 , a fictionalized account of the capture of the German Enigma Code during WWII .
U-571 is a fictionalized account of the capture of the German Enigma machines during WWII .