title: How would you solve this opengl necessity (in c) involving knowing in which square in a boardgame did the user click?
body: <p>So I have this board, to play a boardgame... The problem is, how do I know in which square did the user click on? I know the x and y coordinates, but how do I automate it, without the need to hunt down the specific locations of each square. (Also the size of the board is variable...so it can have lots of squares, or very few, but the board has always the same height and width, that is, the same number of squares running from left to right as the number of squares running from top to bottom).</p>
  
  <p>Thank you so much stack overflow :)</p>