0% found this document useful (0 votes)
37 views16 pages

Both

The document describes the classic card game UNO, including its objective to be the first player to discard all cards, rules involving matching colors and numbers, use of special cards, and strategic gameplay. It then discusses problems that can arise like ambiguous rules and cheating, as well as the need for entertainment, social interaction, and stress relief. The objectives are listed as getting rid of cards first while hindering opponents strategically.

Uploaded by

sharanj764
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views16 pages

Both

The document describes the classic card game UNO, including its objective to be the first player to discard all cards, rules involving matching colors and numbers, use of special cards, and strategic gameplay. It then discusses problems that can arise like ambiguous rules and cheating, as well as the need for entertainment, social interaction, and stress relief. The objectives are listed as getting rid of cards first while hindering opponents strategically.

Uploaded by

sharanj764
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

UNO GAME

PROJECT TITLE
UNO GAME
A PROJECT REPORT

Submitted to the

FACULTY OF SCIENCE

DAV UNIVERSITY,JALANDHAR
for the partial fulfilment of the requirement

for the award of degree of

BACHELOR OF COMPUTER APPLICATIONS

2021-2024

STUDENT NAME SUPERVISOR NAME

Rosedeep Kaur (12100643) Mrs. Harkirat Kaur

Arjun (12101240) Dr. Rajdeep Kaur

DEPARTMENT OF COMPUTER SCIENCE AND APPLICATIONS,

12100643
12101240 Page 1
UNO GAME

DAV UNIVERSITY JALANDHAR , PUNJAB-INDIA

ACKNOWLEDGEMENT

We express our gratitude to all those who helped us in various stages of the development of this project. First,
We would like to express our sincere gratitude indebtedness to Dr. Manik Sharma (Dean Academics), Mrs.
Harkirat Kaur and Dr. Rajdeep Kaur (Department of Computer Science and Applications) DAV University for
their constant support and guidance throughout the course of my work. We are also thankful to all faculty
members of Department of Computer Science and Applications, for their true help, inspiration and for helping
me for the preparation of the final report and presentation. Last but not least, We pay my sincere thanks and
gratitude to the Staff Members of DAV University for their support and for making our project valuable and
fruitful.

12100643
12101240 Page 2
UNO GAME

DECLARATION

We Rosedeep Kaur and Arjun, hereby declare that the work which is being presented in the
project titled “UNO Game” by us, in partial fulfilment of the requirements for the award of
Bachelor Of Computer Applications (BCA)” is an authentic record of my work carried out
under the guidance of Mrs. Harkirat Kaur and Dr. Rajdeep Kaur. To the best of my knowledge,
the matter embodied in this report has not been submitted to any other University/Institute for
the reward of any degree of diploma.

Rosedeep Kaur (12100643) Dr. Arvind Mahendru (Coordinator CSA)

Arjun (12101240)

12100643
12101240 Page 3
UNO GAME

Table of Contents
1. Introduction……………………………………………….5
2. System Analysis……………………………………………6-13
2.1 Identification and Formulation…………………………6-7
2.2 Need And Significance…………………………………7-8
2.3 Objective……………………………………………….8
2.4 Scheduling And Methodology…………………………9-10
3. Hardware and Software Requirements…………………11
4. Zero Level DFD/ System Flowchart……………………..12
5. System Design……………………………………………...13-16
5.1 Module Details………………………………………….13
5.2 Normalized Database Schema………………………….14
5.3 Constraints Specification……………………………….15
5.4 ER Diagram……………………………………………..16

12100643
12101240 Page 4
UNO GAME

1. Introduction:
UNO is a classic and beloved card game that has been entertaining people of all ages for decades. It's a game
that combines strategy, luck, and a whole lot of fun. The objective of UNO is to be the first player to get rid of
all your cards.

To start the game, each player is dealt a hand of cards. The deck consists of cards in four different colors: red,
blue, green, and yellow. Each color has cards numbered from 0 to 9, along with special action cards like Skip,
Reverse, and Draw Two. There are also wild cards and wild draw four cards that can change the course of the
game.

On your turn, you must play a card from your hand that matches the color, number, or action of the card on top
of the discard pile. If you don't have a playable card, you must draw a card from the deck. The game keeps
going clockwise, with players taking turns playing cards and trying to get rid of their hand.

One of the most important rules in UNO is to say "UNO" when you have only one card left in your hand.
Forgetting to say "UNO" can result in a penalty, where you have to draw additional cards. The game continues
until one player successfully discards all their cards, and they are declared the winner of that round.

UNO is a game that can be enjoyed by a small group of friends or a larger gathering. It's a game that brings
people together, sparks friendly competition, and guarantees lots of laughter and excitement.

12100643
12101240 Page 5
UNO GAME

2. System Analysis:

2.1 Identification and Formulation of a problem

The identification and formulation of a problem in the UNO game:

1. Rule Ambiguity: One problem in UNO could be the presence of ambiguous rules that lead to confusion or
disagreements among players. For example, if the rules are not clear about when a Wild Draw Four card can
be played or the consequences of challenging someone's play, it can create confusion and disputes during the
game.

2. Lack of Consistency: Another problem could be inconsistencies in the application of rules across different
variations or editions of the game. If players are accustomed to different rule sets, it can lead to
misunderstandings and disagreements during gameplay.

3. Cheating Prevention: UNO is a game where cheating can occur, intentionally or unintentionally. A problem
to address could be the lack of a clear mechanism for handling situations where a player cheats, such as hiding
cards or not following the rules. Establishing guidelines to prevent and resolve cheating can ensure fair
gameplay.

4. Player Engagement: Sometimes, players may feel disengaged or bored during certain parts of the game,
leading to a decrease in overall enjoyment. Identifying ways to keep all players actively involved and
entertained throughout the game can enhance the overall experience.

5. Game Length: UNO games can vary in length, and some players may find longer games tedious or shorter
games unsatisfying. Finding a balance in game duration to ensure an optimal experience for all players could
be a problem to address.

12100643
12101240 Page 6
UNO GAME

6. Accessibility: UNO should be accessible to players of all ages and abilities. A problem to consider is
whether the game rules and components are easily understandable and manageable for players with different
levels of cognitive or physical abilities.

2.2 Need and Significant of UNO Game:

The UNO game has both a need and significance in various ways:

1. Entertainment: The primary need for the UNO game is to provide entertainment and fun for players of all
ages. It offers a simple yet engaging gameplay experience that can be enjoyed by individuals, families, and
friends.

2. Social Interaction: UNO promotes social interaction and bonding among players. It allows people to come
together, engage in friendly competition, and create lasting memories through shared experiences.

3. Skill Development: Playing UNO can help develop various skills, such as strategic thinking, problem-
solving, decision-making, and pattern recognition. It encourages players to analyze the game situation,
anticipate opponents' moves, and adapt their strategies accordingly.

4. Universal Appeal: UNO has gained widespread popularity globally due to its easy-to-understand rules and
language-independent gameplay. It transcends language and cultural barriers, making it accessible and
enjoyable for people from different backgrounds.

12100643
12101240 Page 7
UNO GAME

5. Stress Relief: Engaging in a game of UNO can provide a break from daily stress and routine. It offers a
lighthearted and enjoyable activity that allows players to relax, have fun, and temporarily escape from the
pressures of everyday life.

6. Family Bonding: UNO is often played within families, providing an opportunity for family members to
spend quality time together. It encourages communication, laughter, and friendly competition, strengthening
the bond between family members.

The significance of UNO lies in its ability to bring people together, provide entertainment, and stimulate
cognitive skills. It has become a beloved and iconic card game enjoyed by millions worldwide.

2.3 Objectives:

The objectives of the UNO game in point form:

1. Be the first player to get rid of all your cards.

2. Match the color, number, or symbol of the top card in the discard pile.

3. Use special cards like Skip, Reverse, and Draw Two to hinder your opponents' progress.

4. Play strategically to prevent your opponents from winning.

5. Pay attention to the cards played by others and adjust your strategy accordingly.

6. Use wild cards to change the color and keep your opponents on their toes.

7. Keep track of the cards in your hand and plan your moves wisely.

8. Be the last player with cards remaining to win the game.

12100643
12101240 Page 8
UNO GAME

2.4 Scheduling and Methodology :

Scheduling:

1. Choose a convenient time and date when all players are available to play.

2. Allocate enough time for the game, as UNO can be played in multiple rounds or until a certain score is
reached.

Methodology:

1. Gather the players and make sure everyone has a deck of UNO cards.

2. Shuffle the deck thoroughly to mix up the cards.

3. Decide on the number of rounds or the target score to determine the winner.

4. Determine the starting player. This can be done by various methods, such as the youngest player going first
or drawing a card to determine the order.

5. Each player starts with seven cards, which they hold in their hand.

6. The top card from the deck is placed face-up to form the discard pile.

7. The player to the left of the starting player goes first.

8. On their turn, a player must play a card that matches the color, number, or symbol of the top card in the
discard pile.

9. If a player doesn't have a matching card, they must draw a card from the deck. If the drawn card can be
played, they can play it immediately. Otherwise, their turn ends.

10. Special cards such as Skip, Reverse, and Draw Two can be used strategically to hinder opponents'
progress.

11. Wild cards allow the player to change the color and can be played at any time.

12100643
12101240 Page 9
UNO GAME

12. The game continues clockwise, with each player taking turns playing cards or drawing if necessary.

13. When a player has only one card left, they must say "UNO" to alert the others. Failure to do so and getting
caught will result in the player having to draw two cards.

14. The first player to get rid of all their cards wins the round.

15. If playing multiple rounds, players can keep track of their scores, and the player with the highest score at
the end is the overall winner.

12100643
12101240 Page 10
UNO GAME

3. Hardware and software requirements:

Hardware requirements:

1. Computer: You'll need a computer capable of running Java development tools.

2. Processor: A modern processor with a decent amount of processing power will ensure smooth gameplay.

3. Memory (RAM): Sufficient RAM to handle the game's calculations and graphics.

4. Display: A monitor or screen with a suitable resolution to display the game interface.

5. Input devices: A keyboard and mouse for user interaction.

Software requirements:

1. Java Development Kit (JDK): Install the latest version of JDK to compile and run Java programs.

2. Integrated Development Environment (IDE): Choose an IDE like Eclipse, IntelliJ, or NetBeans to write and
manage your Java code.

3. Java libraries: Utilize libraries like Swing or JavaFX to create the game's graphical user interface.

4. UNO game logic: Implement the game rules, card handling, player turns, and win conditions in Java code.

5. Graphics and sound: Use appropriate libraries or assets to add visual and audio elements to enhance the
game.

12100643
12101240 Page 11
UNO GAME

4. System Flowchart:

12100643
12101240 Page 12
UNO GAME

5. System Design:

5.1 Modules Details

The modules in the UNO game are:

1. Deck Creation: Creating a deck of UNO cards with the correct number of cards and colors.

2. Card Distribution: Distributing the cards to each player at the beginning of the game.

3. Turn Management: Implementing the logic to manage the turn order and ensure each player takes their turn.

4. Card Play: Allowing players to play their cards according to the rules of UNO, including matching colors,
numbers, or symbols.

5. Special Cards: Handling the special cards such as Skip, Reverse, and Draw Two, and implementing their
effects on the game.

6. Wild Cards: Managing the wild cards, which allow players to change the color and have special effects.

7. Card Drawing: Implementing the logic for players to draw cards from the deck when they cannot play a
matching card.

8. Win Condition: Checking for the win condition, where a player successfully gets rid of all their cards and
declares victory.

9. Scoring: Keeping track of scores if playing multiple rounds, and determining the overall winner.

10. Game Flow: Managing the flow of the game, including starting a new round, ending the game, and
handling any additional rules or variations.

12100643
12101240 Page 13
UNO GAME

5.2 Normalized Database Schema:

Cards Table
card_id Int
Discard pile table
card_name Varchar
discard_id Int
card_type Varchar
game_id Int
color Varchar
card_id Int
action Varchar
discard_id Int
value Int
Add field
Add field

Deck Table
Player hand table
deck_id Int
player_hand_id Int
card_id Int
game_id Int
quantity Int
player_id Int
Add field
card_id Int

Add field

Game Player Table

game_id Int player_id Int

date_started Datetime username Varchar

date_finished Datetime email Varchar

winner_id Datetime Add field

Add field

12100643
12101240 Page 14
UNO GAME

5.3 Constraint Specification

1. Card Color Constraint: Each card must have a specific color, such as red, blue, green, or yellow.

2. Card Number Constraint: Each card must have a number ranging from 0 to 9.

3. Card Type Constraint: Each card must have a specific type, such as Skip, Reverse, Draw Two, or Wild.

4. Deck Size Constraint: The deck must contain a specific number of cards, which includes a combination of
colors, numbers, and types.

5. Player Hand Constraint: Each player must have a specific number of cards in their hand at the start of the
game.

6. Playable Card Constraint: A player can only play a card that matches the color, number, or type of the
previously played card.

7. Special Card Constraint: Special cards, such as Skip, Reverse, and Draw Two, have specific rules and can
only be played under certain conditions.

8. Wild Card Constraint: Wild cards can be played at any time and allow the player to choose the color for the
next turn.

9. Turn Constraint: Players must take turns playing their cards, following a specific order.

10. Win Condition Constraint: The game ends when a player successfully gets rid of all their cards and
declares victory.

12100643
12101240 Page 15
UNO GAME

5.4 ER Diagram:

Deck_id Card_id Card_id value type


reverse skip

Deck Has card Special


include
card
color
quantity
+2

Has include Wild card


Has

+4
play manage Has
Game Has
s s

Player Has Turn


Leads
Management

Player id

Draws Card Play

color number
Card
Drawing Special
card
Draw pile Discard pile

12100643
12101240 Page 16

You might also like