Skip to content

Latest commit

 

History

History
111 lines (90 loc) · 6.37 KB

README.md

File metadata and controls

111 lines (90 loc) · 6.37 KB

Table of contents

  1. Uno Game
  2. How to play on the platform
  3. Cloning the repository

UNO

Objective of the game

Be the first to run out of cards.

Game rules

  1. Each player will receive 7 starting cards and there will be a starting card on the table, along with a deck for drawing cards.

  2. When it is your turn, you must place a card that matches, either in number or color, with the card on the table.

    Example: If the table card is a red 7, you have to place a red card of any number or a 7 of any color. You can also place an action card.

  3. If you don't have any cards that you can place, then they have to grab one from the deck on the table.

  4. Whether you've put down a card or picked one from the deck, your turn goes to the next player.

  5. When you are left with a single card you must press the "UNO" button, if someone presses it before you, you will have to take two cards from the deck. If an opponent has only one card and does not press "UNO" then you can press it and the opponent will receive two penalty cards.

  6. The player who runs out of cards wins.

Action cards

Draw Two Card Draw Two Card: When this card is placed, the next player draws two cards and loses his turn. This card can only be discarded onto a card of the same color or onto another Draw 2 card.
Reverse Card Reverse Card: change the direction of the game. If the player to the left of the person placing the card were to play, this player loses his turn; instead the person on the right will play, and the direction will shift to the right. This card can only be discarded on a card of the same color or on another Reverse card.
Skip Card Skip Card: the player whose turn it is to play loses his turn and it is the turn of the next one according to the direction of the game. This card can only be discarded on a card of the same color or on another Jump card.
Wild Card Wild Card: the player who discards this card will say the new color that will be played or can repeat the one that was already there to be discarded. This card can be placed with any card.
Wild Draw Four Card Wild Draw Four Card: whoever places this card chooses its color and makes the next player draw 4 cards from the deck on the table and lose their turn. This card can be placed with any card.

How to play on the platform

  1. You must put the name with which you want to enter the game, a room code, if you are the creator of the room it can be any code (i.e. room1) otherwise, enter the room code that was provided to you along with the password; If you are the creator of the room, you can put any password that you will provide to others. Finally, if you are the creator of the room, then you must click on "Create room", otherwise "Sign in".

Sign in page

  1. If you are the creator of the room you must wait for a minimum of 3 users to connect (maximum of 10 users) to start the game and only you can start it, the rest of the users will have a waiting window.

Owner waiting room User waiting room

  1. Once there is a minimum of 3 users connected and the owner starts the game, each user will automatically deal 7 cards and the global card. In the center is the deck, where when you click, you grab a card, and the global card, which is where we must discard cards. In the lower right corner there is a chat where you can chat with the users connected to the room. Just above the chat the button of one. At the top you have the name of the room and whose turn it is to play. Around the deck are the users (rivals) connected and the amount of cards they have. At the bottom are the cards we have.

Game page

  1. To place a card, it is only with drag and drop. If you are placing a valid card then you will see it in the center of the table, otherwise it will return to your cards.

Drag and drop

  1. You can know whose turn it is to play in the upper gray box. If it is your turn you will see your name bounce.

It's your turn

  1. When you have a card to change color and place it, you will have to select the color in a window that will appear.

Wild card

  1. To know what color is being played, the background of the entire screen will change according to the color of the main card of the game.

Color of background

  1. You can use the chat at any time of the game to communicate with the rest of the connected users.

Chat

Cloning the repository

Client

  1. git clone [email protected]:UVG-Teams/uno.git
  2. cd uno
  3. yarn install
  4. yarn start

Server

  1. git clone [email protected]:UVG-Teams/simple-websocket-server.git
  2. cd simple-websocket-server
  3. yarn install
  4. node server.js

unogame.f-rosal.com