0% found this document useful (0 votes)
145 views

Game's Project - Grade 12 Data Management

This document describes a 2-4 player card game created by the author. Each player is dealt cards from a standard 52 card deck without aces. Players take turns placing cards on a pile, where the card must be greater than or equal to the top card. If the card is a certain number of values higher, the player takes cards from the pile. The game ends when one player has no cards left. Testing was done with friends to trial the game. Various permutations and combinations related to playing the game are calculated and explained.

Uploaded by

taysirhossain55
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)
145 views

Game's Project - Grade 12 Data Management

This document describes a 2-4 player card game created by the author. Each player is dealt cards from a standard 52 card deck without aces. Players take turns placing cards on a pile, where the card must be greater than or equal to the top card. If the card is a certain number of values higher, the player takes cards from the pile. The game ends when one player has no cards left. Testing was done with friends to trial the game. Various permutations and combinations related to playing the game are calculated and explained.

Uploaded by

taysirhossain55
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/ 25

Game’s Project

What is my game and the rules

My game is a 2-4 player card game. What it is about is each player receives 48 divided by the
amount of players of cards in the game face down (so if there are three players each player
receives 16 cards, 2 players receive 12 cards). The 48 cards are of the standard deck without
any aces. Afterwards the first player of the game plays any card they want. Then, the next
player plays a card that is greater than or equal/less than the card at the top of the pile (the pile
is just where all of the cards are going to be placed) . A 2 is worth the least, followed by a 3, all
the way to a king. If the card that is placed is equal.less than the card at the top of the pile, then
proceed to the next person’s turn, if the card that is placed is greater than the top of the pile,
then the player receives a certain amount of cards in the pile.If the card that is placed is 3
greater than the card at the top of the pile (so if a 6 is placed on a 3), then the player would get
back their own card, plus the card at the top of the pile (resulting in one card being gained). If
the card that is placed is 4 greater, then the player would take their own card, plus the top two
cards at the top of the pile (if there is only one card in the pile, then the player would just get
their own card back that they placed and the top of the pile). This is true until it is 5 greater. If
there is any difference bigger than that, the result would be the same as if the card is exactly 5
greater. The game ends until only one person has cards left, and that person is the winner.
There are no draws in this game, as the game ends until only one person has all of the cards.
Because of this, the chances of winning the game is the same for each player, making it to
where the chances of winning the game is 1/(the players in the game). So if there are only 4
players, there is a ¼ chance of winning.

How was it developed


The way that this game was developed was that it took inspiration from uno and war. It takes
inspiration from uno due to playing one card and then the next player goes, and it takes
inspiration from war by gaining cards if your card is greater by at least a certain amount.

Testing
Here are the results of playing this game with some of my friends Jaskaran and Joseph (though
this was only for a couple of trials, I played with myself for the majority of these trials).

Legend
J=Jack

Q=Queen

K=King

H-heart
S=Spade
C=Clover
D=Diamond

https://docs.google.com/spreadsheets/d/1Fp_PrtfC0ruoB-XMv2ag2005cTJmn92GMhxcCQM7Y
e0/edit#gid=468302613

Permutations
1. All the possible permutations of handing out the 48 cards.
48P48 =1.24139x10^61

Therefore, there are 1.24139x10^61 total permutations

2. All the possible permutations of holding a deck that was already handed out in a 4
player game

479001600

12P12 = 479001600

3. All of the permutations, where on a empty pile, two cards are placed and at least of
them is a 6

There are 4 different combinations of 6, so our final answer should be multiplied by 4.


Case 1 the other card being a 6

3(4C1)=12

Case 2 a 2-5, and 7-K are the other cards

4(4C1)*11=176

(12+176)*4=752
These cards can then be rearranged in 2P2 ways, so
752*2P2=1504

Therefore, there are 1504 ways

4. How many different ways can the colour of the cards be held of are there of holding a
specific combination of 7 red cards and 9 black cards (so in all of the ways, the cards
used are the same, it is just the order that is changed)
PS, I’m only looking at colour permutations, not the cards themselves

16P16/(9!*7!)=11440

5. How many different ways are there of arranging any combination of 7 red cards and 9
black cards so that while holding them in a row, exactly one pair of red cards are side by
side.

24P7*24P9= 8.28*10^20
8.28*10^20*1260=1.04*10^24

Question 5 in the combinations section shows how I got the 1260, in this equation.

6. How many permutations are there of the first two players placing their cards at the
start of the game, for all games (meaning that their is no specific combination of cards
that the players have to hold).
48P2=2256

There are 2256 permutations of this happening

7. How many permutations are there in a three player game of the 1st two players placing
their 1st and 2nd cards, if the players only have one specific deck and no card is gained
by any player.
16P2*16P2=57600

Combinations

1. All of the combinations of cards that could be played on the first 10 turns
assuming no one gained any cards

48C10=6504715896

2. All of the possible starting cards combinations in a 4 player game.

THere are 48 different cards, and each player would receive 12 different cards, making it to
were there are 12 items chosen out of a total of 48.

48C12=6.9668534x10^10

Therefore, there are 6.9668534x10^10 total combinations

3. All the combinations where the card that is placed is not at least 3 greater than the
card at the top of the pile, which results in no cards gained at the start of the
game.
Case 1 a 2 is placed on the first turn

4(4C1*2+3C1) =44

The times 4 is the 4 different combinations of the 2’s, 4C1 are the four different combinations of
the numbers/face cards that are not 2 and are not at least greater than three, and then 3C1 are
the different combinations of the 2 that have not yet been placed.

Case 2 a 3 placed on the first turn

4(4C1*3+3C1) =60

Case 3 a 4 is placed on the first turn

4(4C1*4+3C1) =76

Case 4 a 5 placed on the first turn

4(4C1*5+3C1)=92

Case 5 a 6 is placed on the first turn

4(4C1*6+3C1) =108

Case 6 a 7 placed on the first turn

4(4C1*7+3C1)=124

Case 7 a 8 placed on the first turn

4(4C1*8+3C1)=140

Case 8 a 9 placed on the first turn

4(4C1*9+3C1)=156

Case 9 a 10 placed on the first turn

4(4C1*10+3C1)=172

Case 10 a Jack placed on the first turn


4(4C1*11+3C1)=188

Case 11 a Queen placed on the first turn

4(4C1*11+3C1()=188

Case 12 a King placed on the first turn

4(4C1*11+3C1)=188

44+60+76+92+108+124+140+156+172+188*3=1536

Therefore there are 1536 combinations of this happening.

4. If you have two 7s, four 2’s and two five’s, how many different combinations can
be made to produce a sum with these numbers.

3C1*4C2*5C1*4C4*3C1*4C2-1=1584

Therefore there are 1584 different combinations

5. How many different ways are there of arranging a specific combination of 7 red
cards and 9 black cards so that while holding them in a row, exactly one pair of
red cards are side by side.

There are 10 different ways of placing the one pair side by side alongside the 9 black cards (one
pair is the red cards that are side by side with 0 black cards to the left, another pair is 1 black
card to the left of the red cards, all the way up to 9 black cards to the left)

In between these gaps, there are 9C5=126 ways of placing the leftover red cards

126*10=1260

Therefore for each combination of these cards, there are 1260 of arranging them if we only take
the colour into account as long as only one pair of the red cards
6. How many combinations are there of placing 3 face cards in the first three turns in
an empty pile

Mutually exclusive
1. What is the probability that a number that will be placed is 2 or 3 greater than the
card at the top of the pile or a 2 or 3

Less than 3 greater

Case 1 2-10 is top card


4C1*9*2=72

Case 2 J

4C1=4

4C1*2=8
Case 2 or 3 is the top card
(4C1+3C1)*2=14

4-K
4*(4C1*2)*10=400

400+14+4+72/2256=490/2256
=0.22
THerefore, there is a 22%
2. What is the probability that a the number that will be placed is at
least 4 greater than the top of pile or a 2, 3 or 4

Total cases = 48*47=2256


Case 1 a 2 is the top card

4C1*8=32

Case 2 a 3 is the top card


4C1*7=28
Case 3 a 4 is the top card
4C1*7=24
Case 4 a 5 is the top card
4C1*5=20
Case 5 a 6 is the top card
4C1*4=16
Case 6 a 7 is the top card
4C1*3=12
Case 7 a 8 is the top card
4C1*2=8
Case 8 a 9 is the top card
4C1=4

4+8+12+16+20+24+28+32=144

Case 1, a 2,3 or 4 is at the top of the pile


4*(3C1+4C1*2)*3=132

Case 2 a 5-K is top of pile

4*(4C1*3)*9=436

(144+132+436)/2256
=0.32

Therefore, there is a 32% of this happening


2

3. What is the probability that a 8 or 9 is placed or a


prime number assuming there is a card at the top
of the pile
Prime numbers

Case 1 a 2, 3, 5, or 7 is top of pile

(4C1*(3C1+4C1*3))*4=240

Case 2, a 4, 6, 8, 9, 10, J, Q, K is at the top of the pile

4C1*(4C1*4)*8=512

512+240=752

Case 1, a 8 or 9 is at the top of the pile


4*(3C1+4C1)*2=56

Case 2, a a 2-7 or a 10-k is at the top of the pile

4*(4C1*2)*10=320

320+56=376
752+376/2256=1128/2256
1128/2256=½

Therefore the probability is ½

Case 1 a 2, is placed,

Case 2 a 3 is placed

4. What is the probability that a 10 or a 3 be placed in the first turn.

Let A bet event of placing a 10, and let event B of choosing a 3 on the first turn.

THere are 48 total possibilities, Which would make n(S) be 48. And there are 4 10’s. And 4 3’s,
so n(A)=4 and n(B)=4

p(A and B) = (n(A)+n(B))/n(S)


p(A and B) = (4+4)/48
p(A and B) = (8)/48
p(A and B) = 1/6
Therefore the probability of this happening is ⅙.

5. What is the probability that a 7 or a composite number is placed on the first turn of
the game

There are 4 7’s

Composite numbers

4*5=20

There are 48 different cards

(4+20)/48=24/48
24/48=½

Therefore, the probability is 1/2

Non mutually exclusive


1. What is the probability that the all multiples of 3 or 2 are the first card placed in
the game

Ways of a multiple 3
4*3=12

Ways of a multiple of 2
4*5=20

Duplicates
4C1=4

(12+20-4)/48=(28/48)
7/16

Therefore, the probability is 7/16

2. What is the probability of choosing a prime number or a number less than 6 after
assuming there is a card at the top of the pile.

Case 1 a 2, 3, 5, or 7 is top of pile

(4C1*(3C1+4C1*3))*4=240

Case 2, a 4, 6, 8, 9, 10, J, Q, K

4C1*(4C1*4)*8=512

512+240=752

Less than 6

Case 1 a 2, 3, 4, or 5 is placed
4*(3C1+4C1*3)*4=240

Case 2 a 6-K is placed

4*(4C1*4)*8=128
240+64=368

Duplicates
Case 1 a 2, 3, 5, is top of pile
(4C1*(3C1+4C1*2))*3=60
Case 2
A 4, or6-k is top of pile

4C1(4C1*3)*9=432

432+60=492

752+368-492/2256 =628/2256
628/2256=0.28

Therefore, there is a 28% chance of htis happening

3. What is the probability that a card that is placed after the top of the pile is at
exactly 4 greater than the top card or odd.
Total set = 48*47=2256
Exactly 4 greater

Case 1 a 2-9 is the top card

(4C1*4C1)*8=128

Odd cards

Case 1 a 3, 5, 7, 9 is the top card


4*(3C1+3*(4C1))*4=240

Case 2 a 2, 4, 6, 8, 10, J, Q, K
8*(4C1)(4C1)*4=512

Duplicates

If a 3 or 5 is the top card


4*(4C1)*2=32

128+512+240-32/2256=848/2256

848/2256=0.38

THerefore, there is a 39% of this happening

Case 2 a 3 is the top card

Case 3 a 4 is the top card


Case 4 a 5 is the top card

Case 5 a 6 is the top card

Case 6 a 7 is the top card

Case 7 a 8 is the top card


Case 8 a 9 is the top card

Case 3 a 7 is the top card

4. What is the probability that a card that is placed after the top of the pile is at least
5 greater than the top card or even.

2256

At least 5 greater

Case 1 a 2 is the top card

4C1*7=28

Case 2 a 3 is the top card


4C1*6=24
Case 3 a 4 is the top card
4C1*5=20
Case 4 a 5 is the top card
4C1*4=16
Case 5 a 6 is the top card
4C1*3=12
Case 6 a 7 is the top card
4C1*2=8
Case 7 a 8 is the top card
4C1=4
4+8+12+16+20+24+28=112

Even
Case 1 a 2, 4, 6, 8, 10 is the top card

4*(3C1+4*(4C1))*5=380

Case 2, a 3, 5, 7, 9, Q, J or K

7*(4C1)(4C1)*5=560

380+112+560-64=988
Duplicates

Case 1 a two is the top card

4*(4C1)*2=32

Case 2 a 4 is the top card


4*(4C1)=16

Case 3 a 3 is the top card

4*4C1*2=32

32+16+32=80

(988-80)/2256=0.40

Therefore, there is about a 40% chance of this happening.

5. What is the probability of placing either a heart or a face card for the very first
card.

Let A be the event of choosing a heart, and event B be the event of choosing a face card

There are 48 possible cards, so n(S)=48. There are 12 heart cards in total, so n(A)=12. There
are 12 face cards, so n(B)=12, and there are 3 cards that have both heart and faces, n(A and
B)= 3.

P(A or B) = ((n(A)+n(B)-n(A and B)/(n(s)))


= (12+12-3)48
=21/48
=7/16
=43.75%
Therefore the probability of this happening is 43.75%.
Independent
Use one of the cases questions
1.What is the probability of the same suit being played at the start of the game and the
next time when there is an empty pile

48*48=2304
4*12*12=576

576/2304=¼

Therefore, the probability of this is 1/4

2. What is the probability of the same number/face being played at the start of the game
and the next time when there is an empty pile

48*48=2304
4*4=16
16/2304=1/144

3. What is the probability of a 5 of spades or a even number being placed at the start of
the game and the the next time there there is an empty pile a 5 is placed or a even
number
48*48=2304

at the start of the game


1+(5*4)=21

at the next empty pile


4+(5*4)=24

(21*24)/2304=0.22

Therefore, there is a 22% probability of this happening

4.What is the probability of placing a King at the first turn and a odd number on the next
time there is an empty pile in the game
48*48=2304
4*(5C1*4C1)=80
80/2304=0.03

Therefore, there is a 3% chance of this happening

5.What is the probability of placing a King or queen at the first turn and a odd number the
next time there is an empty pile in the game
48*48=2304
8*(5C1*4C1)=160
160/2304=0.06

Therefore, there is a 6% chance of this happening

6.What is the probability of a 5 being placed at the start of the game and a ten being
placed at the next time there is an empty pile in the game or vice versa.
48*48=2304
4*4*2=32
32/2304=0.14

Therefore there is a 14% chance of this happening

7.What is the probability that the first two players both play the card that is the leftmost
in their deck at the start of the game in a three player game.

Let A be the event of them both choosing the card leftmost in their deck. There is only one way
of this happening, so n(A)=1. Additionally there are 16C1x16C1, total possible outcomes which
is 256, so n(S)=256
P(A) = n(A)/n(S)
p(A)= 1/256
This makes it to where our probability is 1/256

8. What is the probability of a 6 being placed at the start of the game and a 2 being placed
the next time there is an empty pile

48*48=2304

4*4=16

16/2304=0.007

Therefore, there is a 0.7% of this happennig


Dependent

1. What is the probability of gaining a card after a 8 of spades is placed in the


next two turns

Total cases if cards are gained in the 1st of the two turns 47*48=2256
Total cases if cards are gained in the 2nd of the two turns.
47*46=2162
Gaining a card in the first of the two turns
Case 1 a J Q or K is placed is placed

(4C1*48)*3=576

Gaining a card in the f


A 2 is placed first turn

4C1(4C1*8C1+3C1)=140

A 3 is placed 1st turn

4C1(4C1*7C1+3C1)=124

A 4 is placed 1st turn

4C1(4C1*6C1+3C1)=108

A 5 is placed 1st turn


4C1(4C1*5+3c1)=92

A 6 is placed 1st turn


4C1(4C1*5)=80
A 7 is placed 1st turn
4C1(4C1*4)=64
A 8 is placed 1st turn
3C1(4C1*3)=36

A 9 is placed 1st turn =


4C1(4C1*2)=32
A 10 is placed 1st turn
4C1(4C1)=16

16+32+36+48+64+80+92+108+124+140=740

740/2162 + 576/2256 =0.60

Therefore the probability of this happening is 60%

2. What is the probability of not gaining a card after a 5 of hearts is placed in the next two
turns

Total cases 47x46=2162


Case 1 a 2 is first placed
4P1(11P1) = 44
Case 2 a 3 is first placed
4P1(14p1)=56
Case 3 a 4 is first placed
4P1(18P1)=72
Case 4 a 5 is first placed
4P1(22P1)=88
Case 5 a 6 is first placed
4P1(26P1)=104
Case 6 a 7 is first placed
4P1(30P1)=120

44+56+72+88+104+120/2162=
=484/2162
=0.22

Therefore there is about a 22% of this happening


3. What is the probability gaining at least one card after a 5 of hearts is placed in the next
two turns

Total cases if no cards is gained in the first two turns 47x46=2162

Total cases if a card is gained in the first turn after the five of hearts 47*48=2256

Case 1 a 2 is placed first

4P1(35P1)=140

Case 2 a 3 is placed first

4P1(32P1)=128

Case 3 a 4 is placed first


4P1(28P1)=112

;
Case 4 a 5 is placed first

3(24P1)=72

Case 5 a 6 is placed first


4P1(20)=80
Case 6 a 7 is placed first
4P1(16)=64

(140+128+112+72+80+64)/2162
=596/2162

Case 7 a 8, 9 or 10,, J, Q, or K is placed first


4P1(48)*6=1152

There are

1152/2256

(596/2162)+(1152/2256)=0.79
Therefore, there is about a 79% chance of placing a card and gaining at least one card within
the next two turns after placing a 5 of hearts

4. What is the probability gaining at least one card after a 5 of hearts is placed (and no
cards are gained after that 5 is placed)

What is the probability of a Queen and then a king being placed right afterwards at the very start
of the game.

Let event A be placing a Queen on the first turn, and event B be placing a king.on the second
turn

There are 4 Queen’s out a total of 48 cards, making P(A) be 4/48, or 1/12. There are 4 kings
and since there are 47 possible cards in total, P(B|A) is 4/47.

Therefore
P(A and B) = 4x4/(48x47)
P(A and B) = 16/2256
P(A and B) =1/141

Therefore our probability of this happening is 1/141

Theoretical Probability
1.What is the probability of a twelve and a 10 being placed back to back on a empty pile

(4/48)*(4/47)=0.007
Therefore there is a 0.7% chance.

2.What is the probability of an even number being placed on the 2 of three first three turns.

20C2*16C1/48C3=0.18

There is a 18% chance of this happening

3.What is the probability of an odd number being placed on the first turn
16/48=⅓

Therefore, there is a ⅓ chance of this happening

4. What is the probability of a face card being placed in the second turn if a non-face card is
placed first turn

12/(48-1)=12/47

5. What is the probability that a prime number followed by a composite turn

4*4*4*5/(48*47)=0.14

Therefore there is a 14% probability of this happening

6. What is the probability of a card being gained within the first two turns

48*47=2256

Case 1, a 2 is placed first

4*(36)=144

Case 2, a 3 is placed first


4*(32)=128

Case 3, a 4 is placed first

4*(28)=112

Case 4, a 5 is placed first


4*(24)=96
Case 5, a 6 is placed first
4*(20)=80
Case 6, a 7 is placed first
4*(16)=64
Case 7, a 8 is placed first
4*(12)=48
Case 8, a 9 is placed first
4*(8)=32

Case 9, a 10 is placed first


4*(4)=16

(144+128+112+96+80+64+48+32+16)/2256=0.32

7. What is the probability of a Jack or a 2 being the first card of the game

8/48=⅙

Therefore there is a ⅙ chance of this happening

Empirical probability
All the numbers gotten here are from the game itself, there are no calculations in this section.

1. What is the probability of a face card being the first turn

Let event A be the event of a face card being the first turn

P(A)= 9/10

Therefore there is a 90% chance of this happening

2. What is the probability that the same person will play all of the cards of a specific
face/number

Let event A be the event of the same person will play all of the cards of a specific face/number

P(A)= 1/10
Therefore there is a 10% chance of this happening

3. What is the probability that player 1 wins the game

Let event A be the event of player 1 winning the game

P(A)=3/10
Therefore, there is a 30% chance of this happening

4. What is the probability that the game last more than 16 turns

Let event A be the event of the game lasting more than 16 turns

P(A)=7/10

5. What is the probability that the last card gained is a two

Let event A be the event of the last card gained is a two

P(A)=10/10

There is a 100% chance of this happening

6. What is the probability that two kings are placed back to back by two different people in a
game
Let event A be the event of two kings being placed back to back by two different people

P(A)=6/10
P(A)=⅗

Therefore there is a 60% of this happening

7. What is the probability that exactly two cards are gained at least one in the game

Let event A be the event of exactly two cards being gained at least once

P(A)=9/10

Therefore, there is a 90% of this happening

8. What is the probability 5 being placed back to back by two different people

Let event A be the event of two 5’s being placed back to back by two different people

P(A)=2/10
P(A)=⅕

Therefore, there is a 20% of this happening


Winning Strategy
One of the ways to increase the chances of winning is playing face cards at the start of the
game, as the next player cannot gain any cards as there are no cards that are at least three
greater than any of the face cards. Another winning strategy is continuously playing the largest
cards, to decrease the amount of cards that your opponent can get. If possible, always place a
card that will guarantee there not being any card that is at least 3 greater, which will result in the
next opponent not gaining any cards (or at the very least, minimize the amount of cards that
your next opponent can get). There is also the strategy is placing a 10 if the player has the
majority of the kings, as if they place a 10, then, the only way the next player can gain that 10 is
to place a King, and since there is no downside for the other players to place a king, then if the
next player does not place a king, then the player knows that they do not have a king. This is
very advantageous as knowing what cards your opponent does not have increases one’s odds.
Outside of these strategies, there are not that many more strategies as the game is heavily
dependent on luck.

Comments
I played this game with two of my friends named Jaskaran and Joseph.
A couple of comments that were made by the people that played this game is that the game can
take a long while to complete. As the game ends when everyone gets eliminated, and since
each player can only place one card each turn, then, for example in a four player game, the
players that gets eliminated needs to take at least 12 turns. Another comment is that the game
makes you think about the best strategy of how to get the most amount of cards and if possible,
and to try and not to lose valuable cards which your opponent can then use. Another comment
that was made was that.it was hard to remember some of the rules, specifically the rules where
in order to gain cards, you need to place a card that is at least 3 greater, which the people who
played this game said that it was hard to memorize. An additional comment was that the player
with the most face cards usually wins, as face cards cannot be taken, and the same card can be
used over and over again. This meant that for the majority of the game, the winner is obvious.

Improvement
One way to make improvements to the game is to decrease the amount of cards. An example is
only using the number cards (36 cards), which would make the game shorter. Another
improvement that could be made is to make it to where after each cycle of turns (so in a three
player game, it would be 3 turns, one by each player), a random card from another deck could
be added into the game. This would solve the problem of the winning strategy depending on
how many face cards their are. An additional rule that could be added as well, is to change the
rule to where the player loses the card that they place even if it leads to them gaining cards.
THis would make it to where more strategy is involved, and one would have to be careful about
which cards that they placed. The positives of this game is that it makes the players think of
what game they should play, and once the beginning phase is over, there are a lot of turns
where people gain or lose cards.

Conclusion
In conclusion, my card game that is based off of Uno and War contains many math in it it and
the game itself had some positive aspects to it as well as some limitations.

You might also like