I was trying to implement collision in Coders Strike Back and I found what looks like an error in the input of the game.
Both player does not seem to have the exact same input at the same turn.
We see that the agles gtiven to player 2 for the pods of player 1 are different and according to their current state (position, target, angle) it looks like player 1’s pods have already rotated but didn’t move yet.
This situation is even more obvious on the first turn where player 1 see all pods with an angle of -1 while player 2 only see its own pods with an angle of -1.
Does anyone already encounter such error? Or is it perfectly normal (even if it is not written in the rule of the game)?
If you take this into account, then you could have a distinct advantage as player 2 (preview of enemy’s move) or a distinct disadvantage if you assume that this is not happening.
Unfortunately it seems that I didn’t registered the case as a JUnit, but I’m sure that I saw the exact same thing.
I was playing against myself and logging inputs at the very beginning of each turn, and for one turn one angle was different between the two inputs.
When I get bored with FB I may try to reproduce it
Edit : and my game simulation’s result was one of the two
Edit2 : I witnessed similar issues in FB, I may post them later on.
I’m not sure it’s the same thing. If you read through the discussion the difference in their case is 1 degree and boils down to rounding of inputs. Here the difference is 10 degrees.
That’s the same bug. Player 2 recieve Player 1 angle after rotation as input. The post can be confusing (because of the -1/+1 angle) but it is the same bug.