public void checkWin()
	{
		for(int i = 0; i < maxPlayers; i++)
		{
			boolean win = true;
			for(Planet p : board)
			{
				if(!(p.getOwnerId() == i || p.getOwnerId() == -1)) win = false;
			}
			if(win)
				System.out.println("Someone's in trouble");
			for(PendingAttack pa : attackQueue.toArray(new PendingAttack[0]))
			{
				if(pa.getAttackerId() != i) win = false;
			}
			if(win)
			{
				winner = i;
				isRunning = false;
			}
		}
	}