MedVision ad

SDD MAJOR ASSESSMENT - Probability related question (1 Viewer)

nick1048

Mè çHöP ŸèW
Joined
Apr 29, 2004
Messages
1,614
Location
The Mat®ix Ordinates: Sector 1-337- Statu
Gender
Male
HSC
2005
Hey all, this may seem simple but I want some accurate results cause it's kinda of important.

Ok. I'm making a poker machine using visual basic 6 and the layout and commands are fine, along with the spinning images for the reels, however I'm having a problem with calculating some probabilities to make a payout table.
I have 6 images appearing at random on a 3 x 3 slot machine, therefore I have 9 possible squares where 6 possible images can appear. These images can repeat themselves and do not have to appear in any order, however I have made it so some images are more common than others.

There are 31 possible combinations on any one square

10 x hats symbol
8 x guns symbol
6 x money symbol
4 x horseshoe symbol
2 x sherifs star symbol
1 x Lucky 7 symbol

Making the maximum of 31.

I would like to know the maximum number of possible combinations on the 3 x 3 square, which is the first problem.

The second problem is how can I make winnings, must I seperate the lines into 3 different sets of 1 x 3 squares instead of a whole 3 x 3... If anyone can answer the first question of the maximum probability with working out or calculation of how they did it, that would be more than enough. I will work out the rest. Thanks guys for your assistance :D
 

jm1234567890

Premium Member
Joined
Aug 18, 2002
Messages
6,516
Location
Stanford, CA
Gender
Male
HSC
2003
I don't get it....

I have 6 images appearing at random on a 3 x 3 slot machine

so the rest are repeats?

aren't poker machines supposed to scroll?

Why only 6?

a picture might help.
 

grendel

day dreamer
Joined
Sep 10, 2002
Messages
103
Gender
Male
HSC
N/A
total no. of combinations = (31*30*29*...*23)/(10!*8!*6!*4!*2!)

i think, 3u maths a bit rusty. i think you need to use arrangements (permutations) with repetitions not combinations.

don't have a calculator on me at the moment, sorry.
 

grendel

day dreamer
Joined
Sep 10, 2002
Messages
103
Gender
Male
HSC
N/A
oops! last calculation was wrong, disregard it. idea is right though.
 

grendel

day dreamer
Joined
Sep 10, 2002
Messages
103
Gender
Male
HSC
N/A
come to think of it, jm1234567890 is right, if your poker machine has scrolling reels then all of your symbols must have fixed positons on each of the three reels, otherwise you can get 9 hats showing at once.

is 9 hats showing ok according to your program specs????

if your wheels are scrolling and the position of the symbols are fixed on the reels, then the maths is hard, ie beyond ext1 and 2.
 

raymes

Member
Joined
Jan 21, 2004
Messages
116
Location
Sydney
Gender
Male
HSC
2004
grendel said:
if your wheels are scrolling and the position of the symbols are fixed on the reels, then the maths is hard, ie beyond ext1 and 2.
not necessarily - if he used set reels, like on a real poker machine and instead had them spinning for a random number of times then it all wouldnt be too hard. and the number of combinations for the 3 main squares would be
(number of options on reel 1)* (number of options on reel 2)* (number of options on reel 3)
=)
 

raymes

Member
Joined
Jan 21, 2004
Messages
116
Location
Sydney
Gender
Male
HSC
2004
and which screenshot would this be?...try uploading to ur webspace if you have any...and if u dont get urself some!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top