British Prime Minister David Cameron played a "nukes on the loose" war game with US President Barack Obama, German Chancellor Angela Merkel and other world leaders to see how they would cope with a terrorist nuclear attack, it has emerged.
The heads of state took part in the computer tests alongside dozens of other leaders during a nuclear summit this week in The Hague.
In a series of anonymous tests, the leaders, who included China's Xi Jinping, were asked to respond to various events, using a touch screen to record their answers.
The event has been compared with the 1980s film WarGames, which starred Matthew Broderick as a hacker who gains access to a United States military supercomputer, nearly triggering a nuclear war.
US officials said that the test had been designed to give a "scare you to death" shock to make leaders seriously think about the security of nuclear materials.