nope, manual says ... .htm and .html files are always downloaded regardless of accept/reject rules, they should be removed after being downloaded and scanned for links, if they did match the accept/reject lists.
@MartinBüttner For the Kingdom Builder comment can you have four players, each with 1 settlement in the same quadrant on the same row, and only one of them next to something (e.g. castle)?
(the game is a bit more interesting, because there, each quadrant actually has a different kind of Town, which grant you special actions
so you pick 3 scoring mechanisms and 4 towns to play with, and then you can put the quadrants together like you want. that makes for a lot of variation, although the rules are actually pretty simple.
@MartinBüttner The only book out of the several I bought as an undergrad which I actually found useful. (The other book I found useful was one I already owned before starting uni).
@PeterTaylor I don't mind C, as I'm using it for my job. I ended up using it for the controller, because the turn time limits will grow pretty short, so I wanted to make sure that any overhead on the side of the controller is minimal.
That makes me decision easy. I just started work on Wolf 2.0 and I was deciding between CTF and Crazy King
I don't see the point of Rock Paper Scissors without the AI. Should I just settle all conflicts pseudo randomly? It would make the challenge simpler I think
@Rainbolt you keep complaining that there's no incentive to fight in most KotHs... with pseudorandom outcomes, there is even less incentive (unless you can get some sort of modifier to your winning chance)
If the objective is "sit on the hill the longest", what strategies can emerge with random fights? The most obvious method would be "attack the guy on the hill unless it's one of your own, in which case you surround him".
@MartinBüttner Halo had variants of King of the Hill in which the King had buffs. You earned the buffs the moment you were crowned, you kept the buffs while the hill was contested (although you wouldn't be scoring points), and you lost the buffs the instant you were dethroned.
I don't recall a King of the Hill ever being made weaker than everyone else. He would be a sad king
The idea was to provide benefit to the early bird rather than the guys who come in and sweep up the mess when everyone else is done fighting.
@Geobits I think that there are two components. 1) How fast can you reach the hill? and 2) How do you attack the hill? But I agree that with random fights the battle would be quite boring once you got there. I'm not really sure that anything other than "charge in" is best.
Which, in reality, is pretty much the same as a real-life KotH. It's just more fun when you're throwing people off an actual hill than watching letters on a screen :P
I have an idea for a simple code golf. Let me know if you think it's too simple to be interesting to golf:
Imagine a cursor on the real line, starting at x = 0. You're given a list of real numbers. The cursor moves from one number on that list to the next, until the list is exhausted. You are to return the maximum number of times the cursor has traverse any point on the real line.
(It would need some clarification about how the endpoints themselves are counted)
the idea is, if you had (0, 5, 2, 5, 3, 7, 6, 8, 4) then the answer is 6, because the cursor traversed the [4,5] interval six times.
With natural and a sane limit, it would be a bit easier to do (Plot lines for each interval and find the tallest stack, for instance). I assume reals is to make it more involved.
@Geobits (0, 1, 0, 2, 1) ... with your definition the point 1 would have been visited 4 times (while (0,1) has been visited 3 times and (1,2) has been visited twice)
@Geobits I had to check the URL before clicking that :D
sounds fun though
@Geobits actually no, in that example it have been visited 3 times, like the (0,1) interval. hmmm..
@PeterTaylor do you happen to know a convenient notation for half-open intervals which remains non-empty if I swap the ends? so basically it should be equal to [a,b) if a<b and (b,a] if b<a.
@Geobits actually... even with real numbers, there isn't really a need for subdividing segments. just sort the end points to get a mapping to small integers.
(well, I could ask for O(N) solution, where N is the number of points in the input)
although I think that's not really possible either
@Geobits I'm having a really hard time coming up with a good fluff-text
all the things I can think of that I could remotely use for this would rather pose the question "how often was this point traversed?" rather than "what's the largest number of times any point has been traversed?"
I was also considering about an equivalent formulation, where you zigzag between x values (with steadily increasing y at an arbitrary rate), and the question asks how many lines you can intersect with a single vertical line.
Counting Traversals
code-golfarray-manipulation
Note: This needs a nice story around it and some fluff text. Let me know if you have an idea.
Consider a cursor on the real line. The cursor moves back and forth between integer positions, e.g. from -1 to 3 to 1 to -2 to 5, which we could represe...
well, since it's going to be a single-player game, we're trying to provide controllers in as many languages as possible (so that in each supported language, you only need to write a single function instead of a program with I/O loop and everything). and we though we could use your C# expertise to add the .NET languages to the repertoire.
but that's asking a bit too much if you're currently busy with exams ;)
uhh, sure... the challenge will go live on Friday, but if it hasn't already died down completely by Monday, then it can't hurt to still add support for more languages.
but you can let me know if you can be bothered on Monday ;)
@MartinBüttner That's something like what I was thinking. Maybe a bunch of railway segments along the x, and you're trying to find where to build a segment to cross the most of them.
How can I delete my Stack Exchange account(s) and what happens to content I've posted when my account gets deleted?
For more information, see "How do I delete my account?" in the Help Center.
Return to FAQ index
Instead of run, the option will be "Mate". If you both mate, you each spawn a kid of your own species. If you try to mate and the other guy tries to kill you, you just die. If you both fight then the winner is chosen randomly.
The Wolf board is capable of holding multiple players in the same cell. It was collapsed after each iteration, but I didn't have to collapse it.