Hello guys, i am trying to build a slot machine, i need to give values to images when they are randomly matched.
eg 2 of a kind go.jpg go.jpg home.jpg Reward 10 points
3 of a kind go.jpg go.jpg go.jpg Reward 40 points
and also other matches any ideas??
Thanks
Giving values to images
Started by dman4real, Jan 14 2009 07:02 AM
3 replies to this topic
#1
Posted 14 January 2009 - 07:02 AM
|
|
|
#2
Posted 14 January 2009 - 08:07 AM
Are you trying to decide what values to assign or determine how to detect the number of matches?
#3
Posted 14 January 2009 - 08:36 AM
yes exactly i am trying to determine how to detect the number of matches when the images have been displayed
#4
Posted 14 January 2009 - 09:12 AM
I would check if the src values of all three are equal, then check if 2 of the three are equal (in all three combinations).


Sign In
Create Account


Back to top









