public void mouseMoved(MouseEvent e)
        {
            if (!gameWon && board.getWhoseTurn() == 2)
            {
                mouseX = e.getX();
                mouseY = e.getY();
                if (mouseX > grid.getGridX() + grid.getDiameter()/2 && mouseX < grid.getGridX() + grid.getGridWidth() - grid.getDiameter()/2
                && mouseY > grid.getGridY() && mouseY < grid.getGridY() + grid.getGridHeight() )
                {
                    repaint();
                }
            }
        }