Skip to content

pgsmart2/Uno-Online

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Aug 7, 2025
4c7fe48 · · Aug 7, 2025

History

8 Commits
Aug 7, 2025
Aug 7, 2025
Aug 7, 2025
Aug 7, 2025
Aug 7, 2025
Aug 7, 2025

Repository files navigation

Uno Game

Overview

This is a simple web-based implementation of the classic card game Uno. The game allows a player to compete against a bot, following the standard rules of Uno, including special cards like "Draw Two," "Wild," and "Wild Draw Four."

How to Play

  1. Starting the Game: Click the "Start Game" button to begin. You will be dealt 7 cards, and the game will display the current card in play.
  2. Playing a Card:
    • You can play a card if it matches the color or value of the current card in play.
    • If you play a "Wild" or "Wild Draw Four" card, you will be prompted to choose a color.
  3. Drawing a Card:
    • If you cannot play a card, click the "Draw Card" button to draw a card from the deck.
    • If the drawn card is playable, you can play it immediately.
  4. Ending the Turn: After playing a card or drawing a card, the bot will take its turn automatically.
  5. Winning the Game: The game continues until either you or the bot runs out of cards. The player who gets rid of all their cards first wins the game.

Installation

  1. Clone the repository or download the ZIP file.
  2. Navigate to the project directory.
  3. Open the index.html file in your web browser.

Credits

  1. Uno is a trademark of Mattel, Inc. This project is an unofficial implementation of the classic card game.
  2. UNO Cards Dataset: https://www.kaggle.com/datasets/vatsalparsaniya/uno-cards
  3. UNO Card Back: https://www.deviantart.com/wackosamurai/art/Uno-Card-Back-572166483