public void updateScore(SnakePlayer p) {
		int id = p.PlayerID - 1;
		if (id >= 0) {
			String stringText = playerScores[id].getText();
		
		int index = 0;
		for (int i = stringText.length() - 1; i >= 0; i--) {
			if (stringText.substring(i - 1, i).equals(":")) {
				index = i;
				break;
			}
		
		}

		playerScores[id].setText(stringText.substring(0, index) + " "
				+ p.getScore());
		}
	}