Neo-X / DistributedSystems

Distributed Systems Project
GNU General Public License v2.0
1 stars 1 forks source link

Fire/got shot validation at server that is getting shot at #9

Closed Neo-X closed 9 years ago

Neo-X commented 9 years ago

Need to validate and possibly broadcast the results of a fire action by some server

ravjotsingh9 commented 9 years ago

Coding is done! Need to produce a scenario where entire Fire action could be run and tested.

Neo-X commented 9 years ago

I have tested this, there can be an issue where the agent that is fired at is not the closet agent. For example if three agents are in a line and one shoots in the direction of the the other two. Only the closest agent should get shot.

However, I don't think we should bother with this before the deadline. It pertains more to the game, not to the distributed system.

ravjotsingh9 commented 9 years ago

Yes, the shooting agent's server will send request to only one servers, the first one it found intersecting while traversing the ClientAgentMap. So, for now we are not considering distance-check for fire semantic, right ?

Neo-X commented 9 years ago

For now I think gathing statistics and writing the report is more important.

ravjotsingh9 commented 9 years ago

Thats right!