Escaping the imperial forces
This is actually a programming exercise from my college. Hope you like it
Our heroes, aboard the Millennium Falcon and trusting Han Solo's expertise, are trying to escape the rebel forces. To confuse the imperial forces, Han Solo wants to enter an asteroid field.
...
Introduction:
Inspired by this comment of @MagicOctopusUrn on @Emigna's 05AB1E answer for my "It was just a bug" challenge:
8F9ÝÀNð×ý}».∊ I done did made a spaceship maw! And I was all excited about suggesting a 12-byte edit. – Magic Octopus Urn Jul 17 '17 at 20:10
Which is a 05AB1E (legac...
Imagine you have an array of integers, whose positive values are pointers to other positions in the same array, only that those values represent tunnels, so if the value in position A is positive and points to position B, then the value in position B must be also positive and point to position A ...
A nondeterministic finite automaton is a finite state machine where a tuple \$(state,symbol)\$ is mapped to multiple states. Ie. we replace the usual \$\delta : Q \times \Sigma \to Q\ \$ transition function of a DFA with another function \$\Delta : Q \times \Sigma \to \mathcal{P}(Q)\$.
If you kn...
My brain just died... anyone else want to try to parse and find the error with this python3 beauty?: q=[x for x in d for d in i if c in d for i in a if s in i for s in q]
It took me a few moments to realise it isn't broken, it's just that Zacharý hasn't posted to meta before, so is technically a new user despite much experience
I believe this is status-bydesign, as meta and main are two different communities, just with the same users whose reputation on meta is the same as on main and can't be affected there
I agree - there are differences in meta so it's worth knowing who is new to it even if they are already established members of the community. I just hadn't thought of it until seeing this so I had a moment of complete confusion...
the difference isn't immediately apparent, but think of it like this: meta is a community about itself and its respective main, while main is the community about its actual topic
Of course it's self-promotion. I just hope that people here are understanding enough to recognize that it's not an attempt for "plz send teh updoots, lol"
Actually my b) has far more votes than I expected, so it's not undervoted, just has much less votes than my a) on the same challenge, which was one of the less interesting answers and massively overvoted for being early. a) and b) ( b) was the work of 5 people and took far more effort and I think looks better)
Actually, looking at my answers page, I do have a massively overvoted answer with 1 upvote. As a trivial self answer to a broken challenge, it definitely didn't deserve a positive score
@cairdcoinheringaahing It is a bit cumbersome. Click the link in the post, paste the code in, and click Generate Graph!. Open your browsers inspector and copy the svg element to a file. Then use a conversion utility to convert the svg to a png. Then put it in the post.
So, I've seen this question, but I feel like mine is different enough to warrant a new post because I have a specific victory objective that I can use to satisfy the winning criterion requirement. Feel free to disagree with this in the comments or votes.
So here's what I was thinking. Players ca...
@Scrooble ... if any country takes over the world: let's all hope it's not the US. If one country takes over everything, let it be Switzerland or something