Brief description of what I am looking to have created:
I am looking for someone to be able to create a php function for me (yes I'm just looking for a function) that can take three different numbers between a lower and higher limit, and return a true or false when the combination of three numbers falls into a winning set. The kicker of this is that these winning numbers can be offset by a defined amount.
So for example, three random numbers are generated between 0 and 15. The winning combination is 3,3,3. The three random numbers generated can be offset by up to three + or -. The function will check to see if the combination is a winner or not, and return true if it wins, false if not. To clarify further, because the winning numbers can be offset, each wheel might not necessarily be 3 but could still be a win. So for example, if the 3 random numbers generated were 4,3,3, then that is a winning set because the first wheel is offset by 1 but still within 3 offsets. 4,4,4 is a winner because there is a total of 3 offsets (1+ offset per each).
Features I would like for this are to be able to define how the amount I can offset each wheel by and to be able to set a min and max number for random numbers generated for each wheel. I'm not looking for an interface at all, I just want to be able to define these through the function use.