geek-ai / MAgent

A Platform for Many-Agent Reinforcement Learning
MIT License
1.68k stars 332 forks source link

How do they handle attack collision #41

Open sunfanyunn opened 5 years ago

sunfanyunn commented 5 years ago

Who gets the kill_reward when two agents attacked the same grid?

merrymercy commented 5 years ago

Only one of them can get the reward. The order can be random since we use multi thread + critical. But the agent with smaller ID has more chance.