Differences between revisions 3 and 4
Revision 3 as of 2020-11-23 18:26:47
Size: 2981
Editor: scot
Comment:
Revision 4 as of 2020-11-23 18:37:27
Size: 3527
Editor: scot
Comment:
Deletions are marked like this. Additions are marked like this.
Line 50: Line 50:
with the following options: === Game Play ===
Line 52: Line 52:
 * Game is play with 3-6 players
 * Rook bird is played as low or high
 * The "Nest" is called the kitty
 * Only 2s, 3s, and 4s are removed for this game.
 * Counters include the 1 for 15 points.
The game is played in a series of "tricks." A trick is started when the winner of the last trick plays a card. Play than continues clockwise until everyone has played a card.
 * The lead card determines the suit of the trick.
 * ''Every player must follow suit'' (that is, play the same suit as that lead) ''if at all possible''. If a player does not have the suit lead, they may play any other card in their hand. The Rook Bird is considered the trump color and must follow suit like any other card. If a player does not have the suit lead (and the lead suit is not trump) they may "trump in" to steal the trick.
 * The player with the highest card in a trick of the lead suit (or trump if a player trumps in) wins the trick and collects the cards.

Project 2020: Rook - As played with the classic Adventist rules

Your challenge is to program the multiplayer game called rook

== Game Explained

The stages of the game are as follows.

Deal a Hand

  1. The deck is consists of 4 suits (Black, Green, Red and Yellow) and one Rook Bird card. Each suit has numbers 1-14. For 3-6 players remove the 2s, 3 and 4s from the deck.
  2. A dealer is chosen. Anyone can be the first dealer. Each successive hand will be dealt by the person to the left of the previous dealer.
  3. Each player receives and equal number of cards and, a pile in the middle called the kitty receives a number of cards based on the number of players. Cards are distributed one at a time to each pile.
    1. 3 players: Kitty = 6
    2. 4 Players: Kitty = 5
    3. 6 Players: Kitty = 3

Bidding a hand

Each hand contains 200 points distributed as follows:

  1. 5s are worth 5 points
  2. 10s are worth 10 points
  3. 14s are worth 10 points
  4. 1s are worth 15 points
  5. Rook Bird is worth 20 points
  6. Last trick is worth 20 points

Although only the 5s, 10s, 14s, 1s and the Rook Bird are worth points, cards take other cards based on numerical value in the following order: 1, 14, 13, ..., 6, 5. Hence we treat the 1 as an ace. A person is bidding on how many points they can take in one hand.

  • Bidding starts with the person left of the dealer.
  • A minimum bid is 80 points
  • Bidding goes clockwise around the table
  • A person must bid at least 5 above the previous bid or pass.
  • Bidding must be in increments of 5.
  • The last person to bid receives the kitty

Game Setup

This stage is controlled completely by the bid winner.

  1. The kitty is added to the bid winners hand.
  2. The bid winner chooses cards to discard (equal to the number of cards in the kitty)
  3. The bid winner advises the rest of the players if they discarded point cards in the kitty. This is important as there person who gets the last trick will also get the discarded kitty points if there are any in the discard kitty.
  4. The bid winner announces the suit that will be trump in this hand. The trump color will then take any other color if played in the same trick. The Rook Bird is considered the lowest member of the trump color. E.g. if Trump is red, the Rook Bird would be lower than a Red 5, but would take any other color no matter what the denomination.
  5. Depending on the number of players the bid winner may also call partner(s). In calling a partner, the bid winner identifies a specific card, the partner is not revealed until the card is played.
    1. 3 players: No partners
    2. 4 or more players: $$\lfloor\frac{players}{2}\rfloor$$

Game Play

The game is played in a series of "tricks." A trick is started when the winner of the last trick plays a card. Play than continues clockwise until everyone has played a card.

  • The lead card determines the suit of the trick.
  • Every player must follow suit (that is, play the same suit as that lead) if at all possible. If a player does not have the suit lead, they may play any other card in their hand. The Rook Bird is considered the trump color and must follow suit like any other card. If a player does not have the suit lead (and the lead suit is not trump) they may "trump in" to steal the trick.

  • The player with the highest card in a trick of the lead suit (or trump if a player trumps in) wins the trick and collects the cards.

PrinciplesOfNetworkingCourse/Project2020 (last edited 2021-01-14 19:24:10 by scot)