@Override
		public void actionPerformed(ActionEvent e) {

			if (e.getSource() == nextPlayer) {

				// check if human is done
				if (( (HumanPlayer) game.getPlayers().get(0)) .getHumanMustFinish()) {
					JOptionPane.showMessageDialog(game, "You need to finish your turn!", "Next Player", JOptionPane.INFORMATION_MESSAGE);
				}
				else {
					// Update the current player and display it
					currentPlayerIndex++;
					String name = game.getPlayers().get(currentPlayerIndex % game.getPlayers().size()).getName();
					setCurrentPlayer(name);

					// Roll the die and display it, also calculates targets
					setDieRoll(game.rollDie(currentPlayerIndex));

					submitted = false;
					// Take a turn
					game.getPlayers().get(currentPlayerIndex % game.getPlayers().size()).takeTurn(game);
					// Repaint players in their new cells
					game.getBoard().repaint();
				}

			}
			else if(e.getSource() == makeAccusation) {
				if (( (HumanPlayer) game.getPlayers().get(0)) .getHumanMustFinish() && !submitted) {
					game.getAccuse().setVisible(true);
				}
				else {
					JOptionPane.showMessageDialog(game, "It's not your turn!", "Make Accusation", JOptionPane.INFORMATION_MESSAGE);
				}
			}
		}