public boolean lastrun(byte col) {

		/* the board is checked to see if the player
		 * with color 'col' is in lastrun mode.
		 * (the gathering phase of the game)
		 */

		boolean lastrun = true;
		if(col==W) {
			for(int j=0; j<19; j++) {

				if(positions[j].getCol()==W && positions[j].getNum()>0) {
					lastrun = false;
					break;
				}
			}
		} else if(col== B) {
			for(int j=25; j>6; j--) {

				if(positions[j].getCol()==Board.B && positions[j].getNum()>0) {
					lastrun = false;
					break;
				}
			}
		}
		return lastrun;
	}