I mean, I want a set value/range of values to determine if I win or lose in a minigame for example.

It's for a website me and my friend are making, we need a game that upon clicking will bring another page telling you if you won or not based on odds previously coded for each opponent... the problem is coding the odds... :x

Anybody care to help? :3