Whist is a trick-taking game. In our game of Whist, there are four players divided into two teams, each with partners sitting opposite of each other.
You (brown monkey) and your computer-bot partner (yellow bird) are one team. The second team consists of the two other computer bots (blue otter and red fox).
Whist consists of several rounds. Each round consists of 13 turns (also called "tricks"). The goal of the game is for each team to win as many tricks as possible. The highest card ranking is Ace and the lowest is 2.
At the beginning of each round, a trump suit is chosen. The chosen trump suit will appear on the board. A trump always beats any card of the non-trump suits. For example: if hearts are the trump suit, 2 of hearts beats the Ace of spades.
Every fifth round there will be no trump suit.
The player to lead the first trick of the first round is chosen randomly. In the next rounds, the first player to play first rotates clockwise. After the first turn of the round, the winner of a trick leads the next one. On each trick, the leading player plays a card that will be the trick's leading card. In turn, all other players must play a card of the same suit if they have one. If they don't have cards of the same suit, they can play any other card, including trump cards.
At the end of the trick, if any trump cards were played in the trick, the player who played the highest trump card wins the trick. If no player played a trump card, the player who played the highest card of the leading suit wins the trick. The winner leads the next trick.
At the end of each round (13 tricks), each trick won after six counts as one point.
To score, the team must get more than 6 tricks. The opponent team doesn't gain and doesn't lose any points.
For example, if Team A won 9 tricks and Team B won 4 tricks - Team A will get 3 points (9 - 6 = 3) and Team B will get 0 points.
The first team that reaches 7 points wins the entire game.