Giter Club home page Giter Club logo

tripoli's Introduction

tripoli

Package tripoli implements a simplified version of the Michigan portion of the card game Tripoli.

Rules

The game is played with a standard 52-card deck. Aces are high. A dealer is chosen at random for the first hand, and the deal rotates to the left on each subsequent hand.

Before each hand, players ante one chip into each of five stake pots labeled Ten, Jack, Queen, King, and Ace of Hearts, called the “counter” cards. Starting with the player to the dealer's left, the entire deck is dealt out into a hand for each player plus an “extra hand” after the dealer's hand, which remains face down and is not played.

The player holding the lowest club begins play by discarding it. When a card is discarded, whoever holds the next higher card in the same suit must discard it, and so on. When an ace is played or no player holds the next card, whoever played the last card must restart play with their lowest card in either of the suits of the opposite color. A player who plays a counter collects the chips in the corresponding pot.

If a player is unable to restart play because they do not hold any cards of the required color, they must pay one chip to an additional pot called the Kitty, and control of the restart passes to the player to their left. If no player holds any cards of the required color, then after every player has paid one chip to the Kitty consecutively, the hand is over. Otherwise, the hand is won by the player who plays their last card. When the hand is over, every player must pay one chip to the Kitty for each card remaining in their hand. Then the winner, if there is one, collects the Kitty. Any unclaimed stakes remain on the table for the following hand.

tripoli's People

Contributors

dkmccandless avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.