public void repaint(Game game){
		for(List<Token> row : game.getBoard().tokens()){
			for(Token token : row){
				fieldButtons[token.yPos()][token.xPos()].setState(token.color(),token.isMoveable());
			}
		}
		
		String startText = "<html><ul style='list-style-type:disc; margin:0 0 0 15; padding:0;'>";
		String endText = "</ul></html>";
		
		aiScoreLabel.setText(startText+buildScoreList(game.getAiStones())+endText);
        playerScoreLabel.setText(startText+buildScoreList(game.getPlayerStones())+endText);
		f.validate();
		f.repaint();
		
		if(game.isOver()){
			String msg = "";
			if(game.hasAiWon()){ 
				msg = "Game over.";
			}else{ 
				msg = "You win!";
			}
			doneButton.setEnabled(false);
			JOptionPane.showMessageDialog(f,msg,"End of Game",JOptionPane.PLAIN_MESSAGE);
		}
		
	}