GithubHelp home page GithubHelp logo

gofish's Introduction

Rules of the game:

  1. There are 4 players.
  2. There are 52 cards in a deck.
  3. Each player get 7 cards initially, randomly picked from the deck.
  4. A player is randomly chosen to get the first chance.
  5. That player can now ask any other player to give him a card that he has in his hand. (He CANNOT ask for a card that he doesn't have.)
  6. If the other player has the card/s that was asked from him, he gives them to the player who asked for them.
  7. If the other player does not have the card, he asks the player to go fish.
  8. In case the player was succesful in his attempt to get a card from the opponent, he gets another chance.
  9. If he was not succesful then he picks a card from the deck and the chance goes to the next player in a clockwise order.
  10. Whenever a player get 4 cards of the same number, he wins a set, a chance and the 4 cards are removed from the game.
  11. The player with the most number of such sets wins the game.
  12. In case a player runs out of cards in the middle of the game, they will be given 4 cards from the deck to continue.
  13. In case there are less than 4 cards left in the deck, the player gets the remaining cards.

gofish's People

Contributors

prabhjotsl avatar

Watchers

James Cloos 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.