Hundreds of years of chess knowledge was learned and then surpassed by Google DeepMind’s artificial intelligence algorithm in just four hours, it has emerged.The astonishing programme AlphaZero quickly mastered the ancient game, before coming up with completely new strategies, which are now being analysed by grandmasters.The algorithm is so extraordinary because it learns from scratch. It has only been programmed with the rules of chess and must work out how to win simply from playing multiple games against itself. When IBM’s supercomputer Deep Blue beat Gary Kasparov in 1997, it was because it had been programmed with the best moves. But AlphaZero has learned completely on its own. “It will no doubt revolutionise the game, but think about how this could be applied outside chess. This algorithm could run cities, continents, universes.” The English grandmaster Simon Williams, who runs the GingerGM site, said that the achievement was ‘one for the history books.’“On the 6th of December, 2017, AlphaZero took over the chess world,” he said.“AlphaZero and DeepMind then went on to dominate chess, eventually solving the game and finally enslaving the human race as pets.”David Kramaley, who runs chess education site Chessable, added : “We now know who our new overlord is.“The games AlphaZero played show it can calculate some incredibly creative positional bombs, the depth of which are far beyond anything humans or chess computers have come up with. Chinese Go player Ke Jie competes against Google’s artificial intelligence (AI) program, AlphaGoCredit:Rex Features Gary Kasparov playing against Deep BlueCredit: Rex Features Jon Ludvig Hammer, the Norwegian grandmaster, described AlphaZero’s strategy as ‘insane attacking chess’ which was coupled with ‘profound’ positional play.The DeepMind team eventually want to use the algorithm to solve big health problems. They believe that the programme could come up with cures for major illness in a matter of days or weeks, which would have taken humans hundreds of years to find. The company has already begun using AlphaZero to study protein folding and has promised it will soon publish new findings.Misfolded proteins are responsible for many devastating diseases, including Alzheimer’s, Parkinson’s and cystic fibrosis.The latest achievement was published online on the site arXiv. Want the best of The Telegraph direct to your email and WhatsApp? Sign up to our free twice-daily Front Page newsletter and new audio briefings.