def get_clicked_pos(pos, rows, width):
    """
    Identify spot which was clicked on.
    Basically we need to find the position of mouse on the screen
    in the terms of our grid.
    :param pos: position of click from pygame
    :param rows:
    :param width:
    :return:
    """
    gap = width // rows
    y, x = pos
    row = y // gap
    col = x // gap
    return row, col