The rules the computer opponents work by (in training games or when a player leaves an online game early) are very simple. The AI doesn't even remember which cards they have played before, or who played which cards. But they don't make huge mistakes, and that's what makes them seem strong. But good human players definitely have an advantage over computer opponents.