public void forfeitGame() {
		if (this.isActive) {
			if (JOptionPane.showConfirmDialog(null, "Are you sure?", "Forfeit game", JOptionPane.YES_NO_OPTION) == JOptionPane.YES_OPTION) {
				this.isActive = false;
			}
		} else {
			JOptionPane.showMessageDialog(null, "No active game.");
		}
	}