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 which cards another player swapped/might need. But they don't make mistakes, and that's what makes them seem strong. But good human players definitely have an advantage over computer opponents.