A gaming system and method which includes enabling a first player at a first gaming device to initiate at least one play of a first game, enabling a second player at a second gaming device to initiate at least one play of a second game, determining, based at least in part on at least one activity of the first player, a benefit, and providing the determined benefit to the second player. When the edge portions overlap in the captured images of two or more slit-shaped light patterns, the reliability of the computed distance values of the positions corresponding to the edges is lowered. An AlYGa1\u2212YN epitaxial layer 15 has a full-width-at-half maximum of plane XRD of 150 sec or less.