Gambling is the act of risking something of material value on an uncertain outcome. The people who gamble are totally unaware of the outcome. The outcomes are unpredictable so it is risking something of material to win a something of greater material value.
The first (and most typical) way to find distance of two points is by using the distance formula.
One alternative is the Manhattan metric, also called the taxicab metric. This option is much more complicated, and rarely used in high school math. d(x,y)=∑i|xi-yi|