From 4251e85c172f57c39bdfa244e945578eb450926d Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Tue, 1 Sep 2015 00:40:27 +0200 Subject: game mechanics. closes #13 --- reversing_game_mechanics/game_mechanics.txt | 56 ++++++++++++++++++++++++++--- reversing_game_mechanics/stuff.txt | 14 +++++++- 2 files changed, 64 insertions(+), 6 deletions(-) diff --git a/reversing_game_mechanics/game_mechanics.txt b/reversing_game_mechanics/game_mechanics.txt index 9c64805..2488481 100644 --- a/reversing_game_mechanics/game_mechanics.txt +++ b/reversing_game_mechanics/game_mechanics.txt @@ -1,8 +1,54 @@ -can eject: if size >= 60 i.e. mass >= 35 -eject makes me lose 16 mass -eject distance is between (600+my.size) and (700+my.size), about 10-15 deg deviation -can eat ejected mass if mass >= 18 i.e. size >= 43 +Created 2015-09-01, with data between 0 and 2 weeks old. -cell can eat us, if their size/mass(??) is at least 1.25* our size/mass +Units used: + distances, sizes are measured in raw agar.io coordinates. + times are measured in frames. The game ran at 27-28 FPS at the time + where this document was created + speeds are measured in distance / number of frames + + + +cellspeed = 86.05 / cellsize**0.45 zoom level is 369.399 * sum(own_cells.size) ** 0.431776 + +ejecting mass: + prerequisite: size >= 60, i.e. mass >= 35 + you will lose 16 mass, but only gain 12 mass if you eat the blob + one can eat ejected mass if mass >= 18 i.e. size >= 43 + + 75% of the ejects had a deviation smaller than 0.39 rad = 22.16 deg + from the original moving direction of the shooting cell + + they fly 44-45px, starting from shooting cell's border. + +splitting: + 75% of the splits had a deviation smaller than 0.02 rad = 1.19 deg + from the original moving direction of the parent + + flight distance: unknown, somewhere between 100 - 650, max = 1205 + + re-union will usually become possible somewhere after 745 - 790 frames + this means that your cells are possible to glide into each + other. depending on your movement pattern they will actually + merge sooner or later. + +feeding viruses: + 75% of the splits had a deviation smaller than 0.00 rad = 0.11 deg + from the ejected mass movement vector. + + maximum distance is 580 from the midpoint of the parent virus. + not sure about the minimum (too few data), but probably also 580? + + Viruses can have the following sizes: + 100, 106, 113, 119, 125, 131, 136. + Sometimes 141 is also observed, but those viruses will split + almost instantly (bug in the server software?) + i.e., feed a virus with size 100 6 times to maximum size, and one more + time to make it duplicate. + +eating: + a cell can eat us, if their size/mass(??) is at least 1.25* our size/mass + a cell eats another, if the smaller one's midpoint is within the + larger one's circle (with radius = size) + diff --git a/reversing_game_mechanics/stuff.txt b/reversing_game_mechanics/stuff.txt index 29a5248..fbbddc4 100644 --- a/reversing_game_mechanics/stuff.txt +++ b/reversing_game_mechanics/stuff.txt @@ -52,6 +52,18 @@ EJECT/SPLIT DIRECTIONS ejected mass eject/split direction deviations: mean = -0.021378484138331356, stddev=0.730695490707546, ndata=1585 75% of the splits had a deviation smaller than 0.39 rad = 22.16 deg + virus eject/split direction deviations: mean = -0.16497762078310707, stddev=0.07294211158929148, ndata=5 + 75% of the splits had a deviation smaller than 0.25 rad = 14.41 deg + (wrt "emitted mass begin -- parent virus") + + virus2 eject/split direction deviations: mean = -0.001211356391619578, stddev=0.0038334565337591105, ndata=5 + 75% of the splits had a deviation smaller than 0.00 rad = 0.11 deg + (wrt "emitted mass flight direction") + + virus3 eject/split direction deviations: mean = -0.13739240722341658, stddev=0.056773374975376475, ndata=5 + 75% of the splits had a deviation smaller than 0.21 rad = 11.82 deg + (wrt "emitter of the mass -- parent virus") + @@ -77,7 +89,7 @@ EJECT/SPLIT DISTANCES virus meann = 42.666666666666664, stddevn =6.879922480183431 75% of the distances lie in the interval 510.53 plusminus 363.80 88% of the distances lie in the interval 510.53 plusminus 436.56 - max = 580.08 + max = 580.08 (ndata = 13) 75% of the flight lengths lie in the interval 45.00 plusminus 10.00 77% of the flight lengths lie in the interval 45.00 plusminus 12.00 -- cgit v1.2.3