cduggan1 / wheel-of-names

John Crickett Coding Challenge #71
0 stars 0 forks source link

Logic for selecting winner #4

Closed cduggan1 closed 1 month ago

cduggan1 commented 1 month ago

item with lowerrange< and upperrange> (normalizedAngle > 90 ? 270 - normalizedAngle : 90 - normalizedAngle)

cduggan1 commented 1 month ago

normalizedAngle < 90 ? 90 - normalizedAngle : 450 - normalizedAngle **