public void act (double x, double y){
		indexx = (int) (x / cell_width); 
		indexy = (int) (y / cell_height);
		
		int piecenumber = getPiece(indexx, indexy);
		
		if (piecenumber !=  current_player && selected == false){
			return;
		}
		
		if (piecenumber == current_player){ 
			if (jump_selecter==true){
				if (must_jump[indexx][indexy]==false)
					return;
			}
			select(indexx, indexy);
			return;
		}
		
		if (piecenumber == 0 && selected == true){
			move (indexx,indexy);
		}
		
		if (move_done == true){
			selected_piece.Dehighlight();
			selected_piece = null;
			selected = false;
			swapPlayers();
		}
		has_to_jump();
	}