Giter VIP home page Giter VIP logo

uno_helper's Introduction

UNO

A multiplayer game for any client

Build Status

Game Rules

  • Cards (108 cards)
    • Number cards (for each color)
      • 19x cards (0-9, only one 0)
    • Action cards (for each color)
      • 2x Draw Two
        When a person places this card, the next player will have to pick up two cards and forfeit his/her turn.
        
      • 2x Reverse
        If going clockwise, switch to counterclockwise or vice versa
        
      • 2x Skip
        When a player places this card, the next player has to skip their turn. If turned up at the beginning, the first player loses his/her turn.
        
    • Wild cards
      • 4x Wild
        This card represents all four colors, and can be placed on any card. The player has to state which color it will represent for the next player. It can be played regardless of whether another card is available.
        
      • 4x Wild Draw Four
        This acts just like the wild card except that the next player also has to draw four cards. With this card, you must have no other alternative cards to play that matches the color of the card previously played. If you play this card illegally, you may be challenged by the other player to show your hand. If guilty, you need to draw 4 cards. If not, the challenger needs to draw 6 cards instead.
        
  • Setup
    • 2-10 players, ages 7 and over :P
    • each player starts with 7 cards
    • rest of cards are placed in a Draw Pile faced down
    • players throw theirs cards in a Discard Pile
  • Game Play
    • the first player is the player on the left of the dealer (or the youngest player).
    • game play follows a clockwise direction
    • every player can see theirs cards and tries to match the card in the Discard Pile
      • cards have to match by color, number or the symbol/action.
    • a wild card matches cards with any colors or numbers and it can change the current color in play
    • if player has no matches (or simply don't want to play), they must draw a card from the Draw Pile. If that card can be played, play it. Or just pass theirs turn.
      There are two different ways to play regarding drawing new cards. The Official Uno Rules states that after a card is drawn the player can discard it if it is a match, or if not, play passes on to the next player. The other type is where players continue to draw cards until they have a match, even if it is 10 times.
      
    • if the first card from the Discard Pile (chosen by the system, from Draw Pile) is an Action Card, its action must be carried out
      • exception is for wild cards. If one is the first card from the Discard Pile, return them to the Draw Pile, shuffle it, and try to get first card
    • game continues until a player has one card left. The moment a player has just one card they must yell “UNO!
      • If they are caught not saying “Uno” by another player before any card has been played, the player must draw two new cards.
    • Once a player has no cards remaining, the game round is over, points are scored, and the game begins over again.
      • Normally, everyone tries to be the first one to achieve 500 points, but you can also choose whatever points number to win the game, as long as everyone agrees to it.
  • Scoring
    • When a player no longer has any cards and the game ends, he receives points.
    • All opponents’ cards are given to the winner and points are counted.
      • number cards have the same value as theirs number (eg. a 9 is 9 points).
      • Draw Two: 20 points
      • Skip: 20 points
      • Reverse: 20 points
      • Wild: 50 points
      • Wild Draw Four: 50 points
    • The first player to attain 500 points wins the game.

For Two Players

For two players, there is a slight change of game play rules:

  • Play Skip, and you may immediately play another card
  • Reverse works like Skip
  • If you play a Draw Two or Wild Draw Four card, your opponent has to draw the number of cards required, and then play immediately resumes back on your turn.

uno_helper's People

Contributors

danguilherme avatar

Watchers

 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.