title: How to check for the correct answer in wheel of fortune?
body: <p>I have this wheel of fortune <a href="https://www.dropbox.com/s/8daj2h0oryis257/Capture.PNG?dl=0" rel="nofollow">application</a>. The wheel is a whole image.
  I am able to spin and detect the angle when the wheel stops spinning.
  This is the code for that:</p>
  
  <pre><code>private void SpinBtn_Click(object sender, RoutedEventArgs e)
          {
  
              var ease = new PowerEase { EasingMode = EasingMode.EaseOut };
  
              Random rng = new Random(Guid.NewGuid().GetHashCode());
              //DoubleAnimation(FromValue. ToValue, Duration)
              double degree = rng.Next(360, 720);
              DoubleAnimation myanimation = new DoubleAnimation
                      (0, degree, new Duration(TimeSpan.FromSeconds(3)));
  
              double resultAngle = degree - 360;
              double num = resultAngle % 45;
              double quadrant = num + 1;
  
  
              data.Content = resultAngle;
  
              //Adding Power ease to the animation
              myanimation.EasingFunction = ease;
  
              RotateTransform rotate = new RotateTransform();
  
              img.RenderTransform = rotate;
              img.RenderTransformOrigin = new Point(0.5, 0.5);
              rotate.BeginAnimation(RotateTransform.AngleProperty, myanimation);
  
  
          }
  </code></pre>
  
  <p>However how do I check if the user drags the word to the textbox tallies with the image the pointer is pointing at? My lecturer requires me to store the words (I get from database) into an array and the object number in an array but I have no idea how to do it.
  For example, object number 1 will fall in the angle range 0-45, object number 2 in 46-90 and so on. How do I go about with the checking?</p>