The Borgata Casino is suing one of the most famous poker players in the world, claiming he won close to $10 million by cheating with a technique called edge sorting.

The suit against nine-time World Series of Poker champion Phillip Ivey Jr. was filed on Tuesday in federal court. The Borgata, in essence, accuses Ivey of exploiting a manufacturer defect when he noticed some of the playing cards used in the casino had different edges.

According to the AP:

The lawsuit claims that Ivey and his companion instructed a dealer to flip cards in particular ways, depending on whether it was a desirable card in baccarat. The numbers 6, 7, 8 and 9 are considered good cards. Bad cards would be flipped in different directions, so that after several hands of cards, the good ones were arranged in a certain manner - with the irregular side of the card facing in a specific direction - that Ivey could spot when they came out of the dealer chute.

The Gemaco, Inc.-manufactured playing cards were supposed to feature circles designed to look like the tops of cut diamonds, but the diamonds varied in shape, according to the lawsuit.

According to the AP, the Golden Nugget Casino has already filed suit against Gemaco, claiming gamblers were able to walk away with $1.5 million.

[image via Twitter]