Page 1 of 1

attacking question

PostPosted: Mon May 30, 2011 6:36 pm
by TheFissk
okay this highly hypothetical but i've been wondering

lets assume that: it is a freestyle speed game and:
player A is attacking country X from country Y
at the exact same time player B attacks country Y from country Z

who get precedence player a or b, assuming the command is received at the exact same time

Re: attacking question

PostPosted: Mon May 30, 2011 7:07 pm
by Joodoo
I believe when determining which attack went first, even smaller units than "seconds" are used (even though it's not shown on the game log), so the player who is less than a second faster will execute the attack.

Re: attacking question

PostPosted: Mon May 30, 2011 7:42 pm
by TheFissk
ya your right however i'm asking if the commands are received at the EXACT same time, i realize that this is extremely improbable, but i'm curious

Re: attacking question

PostPosted: Mon May 30, 2011 7:57 pm
by QoH
They would roll an intensity cube... highest one would win :roll:

Re: attacking question

PostPosted: Mon May 30, 2011 9:27 pm
by mc05025
The one with the bigger score wins. Except if the other is moderator or volunteer.

Re: attacking question

PostPosted: Tue May 31, 2011 10:13 am
by SirSebstar
mc05025 wrote:The one with the bigger score wins. Except if the other is moderator or volunteer.

Nice try but bogus answer.

I do not know what happens in freestyle if 2 players attack the same country at the exact same time.
I can assume that the first player in the list is first in this, much like a deadbead situation. In that case the first player attacks, the second player then automaticly attacks the first player... on and on..
\i am not really sure though.

Re: attacking question

PostPosted: Tue May 31, 2011 11:03 pm
by mc05025
lol.
Obviously for a system that receives commands there is not such 'same time' thing.
It receives a command and star doing it. after the end of that command (which means maybe after some milliseconds) it start with the next command

Re: attacking question

PostPosted: Wed Jun 01, 2011 2:25 am
by SirSebstar
mc05025 wrote:lol.
Obviously for a system that receives commands there is not such 'same time' thing.
It receives a command and star doing it. after the end of that command (which means maybe after some milliseconds) it start with the next command

Thats not the OP's question. What if.... it all happends/recieved at the EXACT same time?

Re: attacking question

PostPosted: Wed Jun 01, 2011 4:06 pm
by Porteiro
And he's saying that as far as the computer is concerned, it's impossible to receive both of them at the same time. One of them will always be received before the other.

Re: attacking question

PostPosted: Wed Jun 01, 2011 4:47 pm
by AdmiralGaal
Porteiro wrote:as far as the computer is concerned, it's impossible to receive both of them at the same time


exactly, the computer will not accept 2 commands at once, they will be received one at a time

Re: attacking question

PostPosted: Wed Jun 01, 2011 7:02 pm
by rdsrds2120
The game engine would probably just choose one at random and go from there.

-rd

Re: attacking question

PostPosted: Wed Jun 01, 2011 10:55 pm
by Fewnix
What is really interesting is the sequence of steps in the attack orders and the situation that exists when the computer , having executed the order of A to attack X, turns to the order of B to attack X.

Assume the computer considers the attack order is completed with A having seized X and armies have been advanced to occupy X. So when the computer turns to the order of B to attack X, B will be attacking the occupier A.

Alternatively , if the computer considers the attack order is completed with A not having occupied X, then B will be attacking the original holder of the tert.

In some scenarios A and B could be taking turns assaulting X until one of them succeeds and becomes the target.

A fun topic-other suggestions??

Re: attacking question

PostPosted: Thu Jun 02, 2011 4:14 am
by SirSebstar
It would be GD since its about CC. But it fits in here as well since i don't really know

Re: attacking question

PostPosted: Sat Jun 25, 2011 9:21 am
by patricholier
Hi

This topic help me a lot in developing my project. I will contribute more when I finished it.

I found some references on this subject, please refer to everyone here: Science teacher interview questions
Best regards.

Re: attacking question

PostPosted: Sat Jun 25, 2011 1:28 pm
by liamrisksmart
Serial vs parallel processing. type it into google and it will explain.

If its a serial processor used here on conquerclub, then the guys above are right.
If its a parallel processor then you will have a slightly more complicated answer to find.