@Override
        public void mousePressed(MouseEvent mouseEvent){
            if(!controller.isPlaying())
                return;

            //To change body of implemented methods use File | Settings | File Templates.
            int mX = mouseEvent.getX();
            int mY = mouseEvent.getY();
            int dX = mX-offsetX;
            int dY = mY-offsetY;
            int cellX = (dX*3/panelSize);
            int cellY = (dY*3/panelSize);
            System.out.println(mX+", "+mY+", "+dX+", "+dY+", "+cellX+", "+cellY);
            if(cellX >= 0 && cellX < 3 && cellY >= 0 && cellY < 3) {
            	controller.getClient().sendMessage("MOVE;" + cellX + "," + cellY);
            }
        }