I have tangled with a lot of fierce players during my five decades of exploring the green felt jungle that is the poker world. But a couple of days ago I found myself alone at the table with the most aggressive card player I have ever faced. In a game where my worst possible loss should have been about 160 chips, I dropped 670.

My nemesis was not a human card shark, but a computer program. He is called Cepheus, henceforth to be known as "Ceph the Unbeatable", developed by the Computer Research Poker Group at the University of Alberta in Canada.

While researchers have previously developed "unbeatable" algorithms for games such as chess or draughts, this is the first time that scientists have "solved" a game in which some information (i.e. the cards in the opponent's hand) remains hidden from the player.

Join Independent Minds For exclusive articles, events and an advertising-free read for just £5.99 €6.99 $9.99 a month Get the best of The Independent With an Independent Minds subscription for just £5.99 €6.99 $9.99 a month Get the best of The Independent Without the ads – for just £5.99 €6.99 $9.99 a month

The form of poker Cepheus plays is heads-up limit Texas hold'em, which means it's one-against-one, as featured in Michael Craig's book The Professor, the Banker and the Suicide King. Hold'em aficionados such as Doyle Brunson, a former world champion, preach the need to "change gear", to take one's foot off the aggression pedal occasionally. But not Ceph. Most of the time, around 75 to 80 per cent of hands, he would enter the pot with a raise or re-raise. It was as if he was saying: "If you want to take me on it is gong to cost you." Which, of course, it did. So where did a computer algorithm get this aggression? Surprisingly, he taught himself.

When Cepheus was being developed, scientists at Alberta University told him the rules, explained the concept of "winning" and left him to work it out. Armed with 4,000 central processing units he played heads-up hold'em poker against himself for two months. Gaining experience at lightning speed he played billions more hands than the entire poker playing population of planet earth has ever played. No wonder I had little chance of winning.

Shape Created with Sketch. In pictures: Artificial intelligence through history Show all 7 left Created with Sketch. right Created with Sketch. Shape Created with Sketch. In pictures: Artificial intelligence through history 1/7 Boston Dynamics Boston Dynamics describes itself as 'building dynamic robots and software for human simulation'. It has created robots for DARPA, the US' military research company 2/7 Google's self-driving cars Google has been using similar technology to build self-driving cars, and has been pushing for legislation to allow them on the roads 3/7 DARPA Urban Challenge The DARPA Urban Challenge, set up by the US Department of Defense, challenges driverless cars to navigate a 60 mile course in an urban environment that simulates guerilla warfare 4/7 Deep Blue beats Kasparov Deep Blue, a computer created by IBM, won a match against world champion Garry Kasparov in 1997. The computer could evaluate 200 million positions per second, and Kasparov accused it of cheating after the match was finished 5/7 Watson wins Jeopardy Another computer created by IBM, Watson, beat two champions of US TV series Jeopardy at their own game in 2011 6/7 Apple's Siri Apple's virtual assistant for iPhone, Siri, uses artificial intelligence technology to anticipate users' needs and give cheeky reactions 7/7 Kinect Xbox's Kinect uses artificial intelligence to predict where players are likely to go, an track their movement more accurately 1/7 Boston Dynamics Boston Dynamics describes itself as 'building dynamic robots and software for human simulation'. It has created robots for DARPA, the US' military research company 2/7 Google's self-driving cars Google has been using similar technology to build self-driving cars, and has been pushing for legislation to allow them on the roads 3/7 DARPA Urban Challenge The DARPA Urban Challenge, set up by the US Department of Defense, challenges driverless cars to navigate a 60 mile course in an urban environment that simulates guerilla warfare 4/7 Deep Blue beats Kasparov Deep Blue, a computer created by IBM, won a match against world champion Garry Kasparov in 1997. The computer could evaluate 200 million positions per second, and Kasparov accused it of cheating after the match was finished 5/7 Watson wins Jeopardy Another computer created by IBM, Watson, beat two champions of US TV series Jeopardy at their own game in 2011 6/7 Apple's Siri Apple's virtual assistant for iPhone, Siri, uses artificial intelligence technology to anticipate users' needs and give cheeky reactions 7/7 Kinect Xbox's Kinect uses artificial intelligence to predict where players are likely to go, an track their movement more accurately

"At the start, Cepheus had no idea what he was doing other than following the rules of the game," says Michael Johanson, a member of the research team. "But as time went on he began to update the information in its databanks and, instead of making random plays, Cepheus began to incorporate poker strategy into its processes."

Will the fact that a computer has "solved" hold'em cause any ripples on the poker pond? The obvious answer is no, because the form of poker it has cracked – heads-up fixed limit – is very rarely played. It's a well-known feature of game theory that in all but very specific cases, games with three or more players are unsolvable, as any strategy can be defeated by some combination of strategies by the other players. This is why most artificial intelligence poker research focuses on heads-up play, and makes it unlikely that computer research will ruin other formats for anyone in the near future.

But Cepheus will go down as a milestone in game-playing computers, up there with Deep Blue, the computer program that defeated chess champion Garry Kasparov in 1997. In reality, though, Ceph has achieved more because chess is a game of "perfect information" (everything is known) while in poker there are many unknown factors at work.

The system that enabled Cepheus to solve poker also has applications in other fields, such as medicine and security. A research group at the University of Southern California is using a similar technique to develop a system for deploying air marshals on flights and coastguard patrols at ports. In the same way that Cepheus found a way of not being beaten at poker, the USC project is aimed at devising policies that cannot be exploited by any adversaries. Which means that exploits of a poker-playing robot could one day be contributing to the fight against terrorism. Which at least makes me feel a little less sore about my defeat.