Menu

Sum of 1st and 2nd places does not equal # of rounds

Help
2024-05-07
2024-05-09
  • Dominik Ertl

    Dominik Ertl - 2024-05-07

    Hello!

    After 1000 rounds the #1st and 2nd places seems to be wrong. See pic
    attached.

    for one robot it equals 1000, but the sum of 1st places for both robots
    is > 1000... and so the num of 2nd places is < 1000.

    Parameters: 2 microbots, field size 800x600 (but also happens with
    2000x2000)

    1000 rounds, no changes in gun cooling rate etc.

    what could be a reason for this behaviour?

    br

    D

     
  • Flemming N. Larsen

    The reason is that both can have shared 1st, 2nd, and 3rd places. For example, if two bots are left on the battlefield, shoot each other, and are defeated in the same turn, both robots get first place.

    From your screenshot it can be seen that there are 686 + 388 = 1074 1st places, meaning that 74 were shared 1st places out of 1000 rounds. Notice that this also means that there are 74 fewer 2nd places: 314 + 612 = 926, which is equal to 1000 - 74.

     
    👍
    1

    Last edit: Flemming N. Larsen 2024-05-08
  • Dominik Ertl

    Dominik Ertl - 2024-05-09

    thanks for the reply, makes sense!

     

Log in to post a comment.

MongoDB Logo MongoDB