protected void scoreFrom(int playerIndex, Hex front, Hex back) {
		int color = front.getColor();
		for (int direction = 0; direction < 6; direction++) {
			Hex neighbor = front.getNeighbor(direction);
			if (neighbor != null) {
				if (neighbor != back) {
					if (neighbor.getColor() == color) {
						Hex tempNeighbor = neighbor;
						while (tempNeighbor != null
								&& tempNeighbor.getColor() == color) {
							players[playerIndex].addScore(color, 1);
							tempNeighbor = tempNeighbor.getNeighbor(direction);
						}
					}

				}
			}
		}
	}