« first day (1214 days earlier)      last day (3637 days later) » 
00:00 - 21:0021:00 - 00:00

9:16 PM
@m.buettner In an extremely simple case, let's say that we each have one base and there are two unoccupied bases. Thanks to RNG, one of the free bases happens to be 100 light years from me, and the other is 150 light years from you. I obviously get to mine first. For the remainder of the game, I will have more units than you do. Now blow this up for 100 players and 1000 planets. One of them gets an early lead. What stops them?
If you can come up with a good strategy involving 4 bases, I can generate an even better one with 5.
If you make a good strategy with 5 bases, I'll have a better one with 6.
 
@Rusher it's a matter of time scales. Travelling will take between a few seconds and maybe half a year. Bases are supposed to generate new units every week or month or so. Unless you decide to fly from one of Neptune's satellites to one of Uranus's satellites, while they are on opposite sides of the solar system, the difference in travel time will be negligible compared to the unit spawning rate.
That is, most nearby flights will take less than a day.
 
Ok, so the lead in my hypothetical situation will be negligible I guess
Let's make it simpler. I have a significant lead and you don't. What do you do to win?
 
I attack one of your bases, because on average you don't have more units per base than I do.
 
But I am still producing more units total so what's stopping me from sending reinforcements?
 
if you send reinforcements, I'll attack the base you sent them from
 
9:22 PM
You just aren't getting the point
 
if you want to have more-than-average troops on one base, you'll have to have less-than-average on another
 
After fighting, I lose 100 units and you lose 100 units. But during the fight, I produced 500 and you produced 400 because I have more bases
Now you are even further behind
The very fact that time has progressed means that I am winning even more now.
 
a) we're not talking about a two player game... there will be other players keeping you busy on other sides... it's going to be really hard to amass a great number of units anywhere. b) say you're right, is that even a problem? do I want a player with a single base to still be able to overcome an empire controlling 3 large planet systems? I think that might just mean I messed up earlier, and I can't win at this point.
in fact you suggested earlier to not include infinite unit spawning, because with a limited number of units the battle is bound to come to an end. now you're arguing that with infinite unit spawning a player may get the edge, such that the game can't be turned around any more. (not trying to put words in your mouth, this is how I remember/understood it)
 
With limited spawning and some amount of gas, the game will come to an end. With infinite spawning, the game may go infinitely.
 
Sure, but the end of the game might not be domination of the solar system, but everyone running out of units and gas. I don't think that's much different from putting a hard time limit on the challenge.
 
9:30 PM
If you put a time limit then it will end at the time limit. What is your point?
 
That the goal of eliminating all players may not be achieved in either case. And if people decide to just sit around and not do anything, I have to put a time limit on it anyway, because I can't rely on them using up their resources.
Okay but back to actual issue. Is it really an issue? Isn't it just like this in risk? Once you control a sufficiently large portion of the planet, you simply march through your enemies armies, and they can't do much about it any more. There's also some kind of critical mass.
 
hi
@Doorknob have you given up on your bot?
 
@m.buettner Are you referring to bots playing Risk or humans?
 
humans
 
@TheDoctor ... what bot?
 
9:32 PM
DoorknobChatbot
havent seen it
 
@m.buettner When humans play Risk and they see another player getting close to winning, they all team up on that player. But they do it in a specific way. They say things like "If you knock him out, I won't attack your vulnerable area for three more turns."
 
That doesn't change anything about the possibility of one player getting ahead anyway... and when it's his turn, there's nothing from stopping him winning the game.
 
All of the losing players benefit from this diplomacy, and the winner is hammered into place
I think you are confusing winning with won.
 
I'm still not sure I get your point. Like, I know what you're saying. But I don't see how it's a problem.
 
So both you and Geobits just wanted to make sure to challenge me on the issue and then tell me that it is actually not relevant?
 
9:36 PM
No, not really.
It seems like you do think it's a problem.
And I think I might better understand your point if I knew why we're arguing at all.
 
If you don't care that the early leader will eventually win, then you don't care.
I can't make you care about the late game of your challenge
 
Does such a thing as a "late game" exist in a game where the goal is to eliminate all other players?
Are you saying, you'd prefer that any player has the possibility to win at any time?
 
@m.buettner If the winner is decided in 50 weeks, then the latter 950 weeks are not important. You have no end game. If the winner is constantly ganged up on and replaced by a new winner, then the end game is key to victory.
@m.buettner I made no such statement.
 
@Rusher no, but you seem to be complaining about the fact that there will be a point after which you can't win any more if one player has a certain amount of bases.
Then the question is, how late or early in the game is it okay for such a situation to occur?
 
If defending my statement is complaining, then I am complaining.
 
9:44 PM
Ummm.... no... I...
I really don't know the purpose of the discussion. Either you think it's a problem or you don't think it's a problem. What is it? :D
 
Allow me to help make things clear. From here on out, don't say things like "You seem to be implying that if this were kinda like that then maybe something."
 
Whatever (I think) I admit towards your position, you seem to be saying it's not your position.
 
You started off challenging a simple statement that I made, and now you are challenging the validity of the discussion itself.
 
@TheDoctor Oh, right. I just got a new laptop so haven't been using my old computer for a while, which is the one I used to run the bot on.
I'll restart it soon
 
What was that statement? That a leading player can't be beaten, or that there's no incentive to attack the leading player?
 
9:46 PM
(and by soon I mean within a month, of course ;-) )
 
There is no incentive to attack the leading player, and therefore the leading player won't be beaten.
Not can't. Won't.
 
Okay, I think that's a true statement, for almost any game. The question is how much of a lead does a player need to reach that situation.
 
Sure. That is your question.
 
Yes, because we don't need to discuss a tautology, I think.
 
I suggested an answer to a completely different question
But we got caught up in the fact that my logic was wrong.
I suggested a comeback mechanism, or an incentive to gang up on the leader.
Which really makes the answer to your question "Who knows? The game could swing at any point!"
Currently I think the answer is "Early game."
 
9:51 PM
Okay, that's a start. I think we might finally be on the same page about this.
 
You can do your challenge however you want to. Just don't question the validity of an entire discussion just because you don't agree with what I'm saying.
 
a) gang up on the leader requires communication between bots of different players, which I think would so ridiculously complicate the game, it won't be worth it.
 
Gang up on the leader is as easy as "If you steal a base from the leader, or destroy one of their ships, you get a prize."
 
@Rusher no that's not why I questioned the validity of the discussion... I questioned it, because I literally wasn't sure what we were actually discussion. Because your statement itself is true for any game, and only makes sense if you think it's quantitatively weird for this design, but I couldn't really figure it out if you thought that was the case or not.
 
It is not true for Risk, as I mentioned earlier.
Humans playing a game of risk will balance a small lead by ganging up.
 
9:53 PM
If you control all but Australia, who is stopping you?
A large lead will win you a game of Risk as well
 
How does an early lead in Risk suddenly become owning all but Australia?
 
A tiny lead won't win you a game in this proposal either. The question is where to draw the line, and I definitely cannot anticipate that.
we posted that at the same time
there was no "early" when I wrote my comment
 
Let's make this super simple. Do you agree that you can gain a small lead in Risk very early?
 
sure
and that you don't win from it
 
Do you gain benefits from a small lead, like extra production?
 
9:55 PM
yes you do
 
What ultimately squashes your small lead?
 
(iirc)
 
If I come in and bash you with my entire force, who wins?
 
bad luck :P ... and other players reacting, if they can
 
I'd guess neither of us will win if I do that
 
9:56 PM
probably not. but I'm not saying risk can be decided early
I'm saying there is a point in risk after which you have a sufficient advantage to win the game no matter what
do you disagree with that?
 
I agree
 
okay, so there is some magical point after which a player can reach a certain critical mass and the game is basically over
 
Yes
 
now the same is true for the solar system game, the only question is "where is that point?" and if it is too early (which I don't know but which might well be the case), then we can talk about ways to push it back
but similarly, I don't think a small lead will give you a certain win.
 
The critical point of a 3 player games is exactly equal to when 1 person can beat the other 2 players single handedly
 
9:58 PM
yes, but it's hard to judge how soon or late that happens
 
What is this chat for?
 
especially in a game where luck is involved
 
Owning half the universe and holding on to it for some number of turns is not the same as the situation I was describing earlier.
@PsychOPhobiA Anything you want lol
 
@Rusher Like?
 
@PsychOPhobiA code golf challenges and other programming nonsense
 
9:59 PM
We talk about Risk, Doges, Programming, Pop Culture, profanity, etc.
 
or xkcd comics
We also talk a lot about talking in here ;)
 
hehe
 
@m.buettner like golfing?
 
"Owning half the universe and holding on to it for some number of turns is not the same as the situation I was describing earlier." Just so we don't talk cross-purposes again, which situation are you referring to exactly?
 
All the usual stuff like racism, etc. is probably not good
 
10:00 PM
@PsychOPhobiA sure
 
@m.buettner "Early lead inevitable leads to winning, because no other player has incentive to stop the leader."
In other words, I think it will cascade
 
So what can I talk aout? Food?
 
Which again is FINE if that's how you want it
@PsychOPhobiA Anything but Brussel Sprouts. Those are banned.
 
@PsychOPhobiA In theory, codegolf.SE. In practice, codegolf.SE plus whatever random stuff we feel like talking about. ;)
 
I think if the lead is early or late is irrelevant (for now). The question is how large that lead has to be. then we can talk about how early such a lead can be acquired. at least I can't anticipate that intuitively.
Do you think a small lead would guarantee you to win?
 
10:05 PM
@m.buettner Of course not. The game is RNG.
 
0
Q: Can I repost someone else's closed question after fixing the issue?

professorfishA day or two ago, the following question was posted: http://codegolf.stackexchange.com/questions/28620/a-program-to-transliterate-l33t-words-to-regular-english-words It was about translating leetspeak into regular English. However, since there was no objective winning criterion, the question wa...

 
@Rusher okay, so you need a certain advantage. In particular, going by your earlier argument, you need to be able to beat n other players (and here n is probably greater than 5 and hopefully greater than 10, and potentially greater than 20). Or at least you'll need to be able to hold your position for long enough to be able to do that.
Do you think it'll be possible to get there in there in the early game?
(I don't even know how to measure "early" or "late" here... in moves? ... in game time?)
 
I don't know if I can repeat myself any more
You can decide for yourself what a small advantage will become once gained
If you think it'll all just even out, great. If you don't, great. If it doesn't matter, that is also fine.
 
Okay, I personally don't think that a small advantage is enough to just sit it out, but as I said, I can't tell. (And I don't know how you can tell, but I'd like to know.)
So let's skip that part and say you're right, you can decide the game for yourself within a few moves if you're lucky and just wait.
You suggested to grant some form of buff or resource (any incentive) for attacking other players.
That's why I originally said that taking over a base immediately grants you n fighters. But Geobits made a valid point, that this could lead to absolute chaos of two enemies repeatedly take away their bases.
 
@m.buettner Not sit it out. Assume four players with 5, 5, 5, and 6 bases
I play the game as normal with 5 of the bases but only choose to defend on the 6th one
Obviously I have an advantage, and over time it will grow
If we continued to fight and trade bases evenly for 900 weeks, then my 6th base would have amassed an enourmous army
None of you have this luxury with your 5 bases
But lets say that halfway through I actually do something with my massive army
Or maybe I don't even wait to amass, I just play with all 6
I'm not trading evenly because I have more units to play with. I'm stealing more bases than any of you are
This cascades until I have 7, 8, etc
If the rolls are perfectly fair, then I'd have to do something strange to lose my lead
I think that you've won as soon as you are outside of bad roll RNG range
Are you still there? I have some math for you
 
10:21 PM
But do you really have more units? Did you maybe have to sacrifice some to get that 6th basis?
 
In that case, you aren't actually in the lead
 
Yeah I'm still here, I'm trying to play through a few scenarios in my head.
 
My entire assumption was that you have a lead, however small.
 
okay
 
If you sacrificed your entire army for a base, you are not winning
But back to the situation from before but with math
 
10:22 PM
fair enough.
 
From scratch, we all have zero units, I have 6 bases, you all have 5
There is a slightly higher chance that you will attack me right? Because I have more bases?
 
yes
 
It's roughly 6/21 - 5/21 higher chances right?
 
I'd go with 6/16 to 5/16, but that probably doesn't change your point
 
My extra base has a 1/21 = 4.7% chance of being attacked
1/16 makes it 6.25%. We can go with that
So I am losing 6.25% more units, but producing 20% more units
You guys would have to significantly turn your head my way in order to offset that.
And every second you don't, that percentage difference grows.
Because hopefully I am doing something with my extra units
 
10:28 PM
Okay, but why does that not happen in Risk? Only because players cooperate? Would you say risk suffers from the same problem if you prohibited players talking to each other?
Also, I think there is fair chance that no single bot will manage to use their units optimally, so I could just be better at using my units more efficiently than you to make up for the difference. I think you're maths assumes that everyone is playing by a known dominant strategy.
 
@m.buettner That's true. If the strategy is to gain an early lead and then sit around, you might still lose.
 
Another thing, let's assume players have full information. They know you've got a base more than they do. I think that would increase the chances of them attacking your bases, too.
 
It doesn't happen in Risk because players cooperate. If you prevent players from talking to each other in Risk, it might suffer the same problem. If played by bots, it would definitely suffer the same problem.
If you are given that information, you have two options as a bot. 1) Take a stab at the leader or 2) Hope someone else does it for you
Conflict with the leader seems detrimental to my health
 
Is it? He doesn't have more fighters per base than anyone else.
 
What does it mean to be in the lead?
 
10:34 PM
I assumed to have more bases without being at a disadvantage in terms of units.
 
So he has 6 bases with 5 units per base, and I have 5 bases with 5 units per base?
 
that seems likely if we're starting from a clean slate
 
So I send all five of my squadrons to take five of his bases. He does the same but does nothing with number 6.
Assume we trade equally, right?
 
sure
 
During all of this fighting, what was going on at my 6th base?
It was growing larger, right?
 
10:37 PM
depends on the time scale, but maybe a bit
 
Ok. Now I have 5 + a bit on one base, and 5 on the rest. You have 5 on all of yours
I seem to have gained a bit
 
isn't that assuming a 1-on-1 fight?
 
Not necessarily. I showed you the math for a 1v1v1v1 fight
I am something like 6% more likely, and that "bit" is like 20% more
 
you showed that math assuming equal attack probabilities
what if there are 5 players with 5 bases and you with 6. who do you send your units against? it's likely that you'll have enemies on all 6 doorsteps.
 
Why is it likely?
 
10:40 PM
because you're in the lead
 
What compels people to attack the leader?
 
I don't see an incentive not to attack the leader
so I might as well pick the leader
 
I do. Conflict is bad for my health. I'd rather attack someone who sucks ass and take his base.
I'll cross my fingers and hope someone else deals with the problem
You can go be a hero and take down the leader
I have to leave work now (they're finally kicking me out because the building is closing)
BBL
 
okay, you might do that. but that's not the point. if you're saying your argument only works, because people won't be following the strategy that is worst for you, that doesn't seem to be a valid argument to me.
oha, well, I might be asleep by then, but feel free to respond, and I'll get back to it tomorrow
So your argument works if people don't attack the leader. If your argument doesn't work any more if people jump on the leader, that is incentive enough to attack the leader. Because it means no one can win if the leader is left alone. So the only winning move is to attack the leader. In which case you can assume that your opponents will do so. Can you still maintain your lead? (I don't know, I'm genuinely asking.)
Also attacking the leader doesn't seem to have any disadvantage, if the number of fighters per base is still equal, so the choice of base to attack is otherwise independent of the player who owns it.
 
ace
11:29 PM
hi guys
anyone here?
 
Hi ace
Jumping between chats
@ace What you need?
 
ace
I plan on adding another answer to this question, but i'm worried that it will be too similar to this answer. So i wanna post it here and see what you guys think
 
@ace Go ahead and post it
I am still here
 
ace
my (proposed) new answer is as follows:

#include <stdio.h>
const float inf = 1./0.;
int main() {
    int x=1;
    int sum=0xBDAAAAAB; // Arbitrary magic number for debugging
    while(x --> inf) { // while x tends to infinity
        sum+=x;
    }
    float sumf=*(float*)&sum; // convert to float since -1/12 is not int
    if(sumf == 0xBDAAAAAB) { // no sum performed, something's wrong with the loop...
        fprintf(stderr, "sum is unchanged\n");
        return -1;
    }
    printf("%f\n", sumf);
 
I assume this is C#
?
 
ace
11:36 PM
it is C
and the main part that does the trick is the same as the other C answer (the "converting to float" part)
 
I am a python guy so I can't really tell if this is the same as the other code
And I suggest that you shouldn't make another answer
 
ace
ok thanks
 
I mean this just want do you any good. You already did awesomne on the first
 
ace
thanks
 
Just try to work hard on another question and you never know you might be the best answerer on the site
 
ace
11:39 PM
nah, i'm far from that
 
On the other hand it is your choice
 
@m.buettner Did you mean "the only winning move is for someone to attack the leader" or "the only winning move is for you to attack the leader"?
 
@ace Anything else?
 
@m.buettner And if someone, I wonder whose bot will randomly decide to take the fall.
 
@Rusher good question...
 
ace
11:40 PM
@PsychOPhobiA Nope, thanks
 
But I'm still not convinced that you're "taking the fall"
what's the disadvantage of attacking your base over attacking another players base?
 
@ace no problem :)
 
"you" being the current leader
still assuming we all have the same amount of units per base
 
Assuming you took bases in a cluster and not scattered around, I can much faster reinforce the planets being attacked, and with more units than you can
 
but then you can't attack the other players, so you can't gain bases in exchange
 
11:43 PM
And we can repeat that circular argument 6 more times until you realize that I just have the capacity to do 20% more things than you do
 
but your point was that the leading player could be beaten if all players jumped on him, wasn't it?
just that you didn't see why anyone would do that
 
I certainly wouldn't write a bot that favors attacking the leader. I would write a bot that attacks the bases with the least units defending them
I suppose I could throw a random if statement that says "If all bases in the 89 planet galaxy are being equally defended, and all of the enemy planets are equally distant from mine, then I'll just attack the leader."
But when will that ever be the case?
 
The question isn't what bot would you write, the question is what bots could your opponents write. If three people decide to write a bot that always attacks the leader, it doesn't matter whether you think it's a sensible strategy or not. The question is, will the leader then still be able to keep his advantage?
 
If three people write a bot that always attacks the leader and I write a bot that always attacks them when they launch an attack on the leader, I'll thrive until I'm the leader, at which point I'll be under their attack.
As soon as I lose the lead, they'll focus on someone else and I'll regain the lead
But if you repeat this over and over, one person keeps coming out on top, and thats me
 
are you certain that'll be you? I think the random component in the game is strong enough for that kind of fluctuation to turn the situation around.
 
11:49 PM
The only thing that conflict with the leader accomplishes is making sure you don't lose. It doesn't help you win.
 
I don't see how attacking another player is any different
your argument also doesn't work because for the time you're not leader, you could reverse the argument for the player who is the leader during that time
 
I don't see how this conversation is meaningful once you factor in that you don't know who the leader is. At that point, all the talk of "attack the leader" vs "don't attack the leader" becomes... pointless.
 
so who of the two of you will win at the end?
@Geobits we were assuming full information at some point
 
@m.buettner If the player who is the leader writes a bot like mine, but you said he didn't.
 
So it's now just fully theoretical based on a game we won't be playing?
 
11:51 PM
Are we reversing his bot now?
 
@Geobits no I'm actually considering making that a thing. the "you can see only what's going on on your own planets" was born out of the "bots need to communicate" idea.
 
If we reverse his bot, we have two greedy players who alternate the lead while being popped like whack a mole by the remaining two players
 
I still say that limited visibility is a good idea, but either way works.
 
If we reverse it for a third player, we have three greedy players and one who just loses quickly by attacking the leader.
 
@Rusher I always have more bots in mind than just the few I'm explicitly mentioning
 
11:53 PM
And finally we can have four greedy players which I predict will happen.
 
ace
hi, if it is convenient for you guys I'd like to ask for some advice
 
say there are 10 bots, you're leading, 3 are jumping on the leader. the other 6 are doing whatever
 
@ace About what?
 
@ace Okay?
 
ace
@Geobits I plan on adding another answer to this question
but i think it may be too similar
 
11:54 PM
@Rusher are you saying you'll be able to capitalise on any small lead you may have in this case?
 
ace
so i wanna see what you guys think. the new code is here
 
@m.buettner Then the 3 who are jumping on the leader will be at a strict disadvantage for engaging in combat against a stronger opponent, and the other 7 will gain. As soon as those three die (and they will die sooner than the rest because they search for trouble) then the situation returns to a greedy cascading win for one player.
 
The one you posted above? It is pretty similar. It's up to you, but I probably wouldn't bother if it were me. I might add it as an edit, showing both version in the original.
 
ace
@Geobits okay thanks
 
@m.buettner Wait, did I say I could capitalize on a small lead if three players were specifically attacking me? I don't recall saying that, and I'm really tired of having words put in my mouth.
 
11:56 PM
@Rusher that's how I understood "If three people write a bot that always attacks the leader and I write a bot that always attacks them when they launch an attack on the leader, I'll thrive until I'm the leader, at which point I'll be under their attack.
As soon as I lose the lead, they'll focus on someone else and I'll regain the lead
But if you repeat this over and over, one person keeps coming out on top, and thats me"
 
Why would you favor attacking the leader? Isn't it better if someone else deals with it?
 
@Rusher Because we're still assuming he has the same number of units per base.
 
And he has more bases, thus more units total.
And they are mobile
 
But the three players jumping the leader have more units than he has in total.
 
Correct.
 
11:58 PM
They could simply eradicate him within a few rounds.
 
Three players ganging up on a single player would eradicate him in a few rounds.
 
And as soon as he pulls troops off other bases to defend a few, others could jump his weaker bases.
 
Then I'll move them back the weaker base.
That argument obviously isn't going anywhere
But while all of that is happening, guess what?
I'm making more units!
So we repeat this silly game of cat and mouse and the entire time, whoever is in the lead is cascading
Because they are producing a percentage more units than you are.
 
00:00 - 21:0021:00 - 00:00

« first day (1214 days earlier)      last day (3637 days later) »