client_plugin_logic_deb 1.8.357 → 1.8.360
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kosi-Kaverit-kaverit.js +11 -11
- package/Kosi-Kodein-kodein-di.js +35 -35
- package/Kotlin-DateTime-library-kotlinx-datetime.js +73 -73
- package/Logic_Debertz-client_plugin.js +2290 -2290
- package/Logic_Debertz-client_plugin.js.map +1 -1
- package/Logic_Debertz-core.js +55 -55
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +136 -164
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +7483 -6926
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +737 -737
- package/error-library-error.js +5 -5
- package/kotlin-kotlin-stdlib.js +260 -274
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +5 -5
- package/kotlinx-coroutines-core.js +60 -60
- package/kotlinx-io-kotlinx-io-core.js +25 -25
- package/kotlinx-serialization-kotlinx-serialization-core.js +71 -71
- package/kotlinx-serialization-kotlinx-serialization-json.js +77 -77
- package/ktor-ktor-client-content-negotiation.js +20 -20
- package/ktor-ktor-client-core.js +57 -57
- package/ktor-ktor-client-logging.js +23 -23
- package/ktor-ktor-events.js +5 -5
- package/ktor-ktor-http.js +69 -69
- package/ktor-ktor-io.js +45 -45
- package/ktor-ktor-serialization-kotlinx.js +14 -14
- package/ktor-ktor-serialization.js +15 -15
- package/ktor-ktor-utils.js +43 -43
- package/ktor-ktor-websockets.js +13 -13
- package/package.json +1 -1
- package/random-library-crypto-rand.js +11 -11
- package/random-library-secure-random.js +5 -5
- package/raspberry-cardgame-lib-core.js +35 -35
- package/raspberry-cardgame-lib-logger.js +13 -13
- package/raspberry-cardgame-lib-random.js +35 -35
- package/uuid.js +12 -12
package/Logic_Debertz-engine.js
CHANGED
|
@@ -43,40 +43,40 @@
|
|
|
43
43
|
'use strict';
|
|
44
44
|
//region block: imports
|
|
45
45
|
var imul = Math.imul;
|
|
46
|
-
var Long = kotlin_kotlin.$_$.
|
|
47
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
48
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
46
|
+
var Long = kotlin_kotlin.$_$.pg;
|
|
47
|
+
var protoOf = kotlin_kotlin.$_$.uc;
|
|
48
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.ub;
|
|
49
49
|
var AsyncProvider = kotlin_io_raspberryapps_game_engine_core.$_$.f2;
|
|
50
50
|
var getKClass = kotlin_kotlin.$_$.e;
|
|
51
|
-
var arrayOf = kotlin_kotlin.$_$.
|
|
51
|
+
var arrayOf = kotlin_kotlin.$_$.jh;
|
|
52
52
|
var createKType = kotlin_kotlin.$_$.b;
|
|
53
53
|
var typeToken = kotlin_org_kodein_type_kaverit.$_$.d;
|
|
54
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
54
|
+
var THROW_CCE = kotlin_kotlin.$_$.vg;
|
|
55
55
|
var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
|
|
56
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
56
|
+
var isInterface = kotlin_kotlin.$_$.hc;
|
|
57
57
|
var Instance = kotlin_org_kodein_di_kodein_di.$_$.f;
|
|
58
|
-
var KProperty1 = kotlin_kotlin.$_$.
|
|
59
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
58
|
+
var KProperty1 = kotlin_kotlin.$_$.qd;
|
|
59
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.qb;
|
|
60
60
|
var JobsProvider = kotlin_io_raspberryapps_game_engine_core.$_$.h2;
|
|
61
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
61
|
+
var initMetadataForClass = kotlin_kotlin.$_$.tb;
|
|
62
62
|
var VOID = kotlin_kotlin.$_$.f;
|
|
63
63
|
var listOf = kotlin_kotlin.$_$.l8;
|
|
64
|
-
var plus = kotlin_kotlin.$_$.
|
|
64
|
+
var plus = kotlin_kotlin.$_$.w8;
|
|
65
65
|
var copyToArray = kotlin_kotlin.$_$.d7;
|
|
66
66
|
var combineReducers = kotlin_io_raspberryapps_game_engine_core.$_$.i3;
|
|
67
67
|
var applyCatcher = kotlin_io_raspberryapps_game_engine_core.$_$.a3;
|
|
68
68
|
var applyMiddleware = kotlin_io_raspberryapps_game_engine_core.$_$.b3;
|
|
69
69
|
var compose = kotlin_io_raspberryapps_game_engine_core.$_$.l3;
|
|
70
70
|
var createStore = kotlin_io_raspberryapps_game_engine_core.$_$.m3;
|
|
71
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
71
|
+
var CoroutineImpl = kotlin_kotlin.$_$.va;
|
|
72
72
|
var Unit_instance = kotlin_kotlin.$_$.j5;
|
|
73
73
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.p1;
|
|
74
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
75
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
74
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ga;
|
|
75
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.xb;
|
|
76
76
|
var emptyList = kotlin_kotlin.$_$.i7;
|
|
77
77
|
var RaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.g;
|
|
78
|
-
var lazy = kotlin_kotlin.$_$.
|
|
79
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
78
|
+
var lazy = kotlin_kotlin.$_$.sh;
|
|
79
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.wb;
|
|
80
80
|
var listOf_0 = kotlin_kotlin.$_$.m8;
|
|
81
81
|
var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.w4;
|
|
82
82
|
var createInvariantKTypeProjection = kotlin_kotlin.$_$.a;
|
|
@@ -85,64 +85,64 @@
|
|
|
85
85
|
var Logger_getInstance = kotlin_io_raspberryapps_cardgame_logger.$_$.m;
|
|
86
86
|
var getKClassFromExpression = kotlin_kotlin.$_$.d;
|
|
87
87
|
var contentEquals = kotlin_kotlin.$_$.p6;
|
|
88
|
-
var getBooleanHashCode = kotlin_kotlin.$_$.
|
|
88
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.ob;
|
|
89
89
|
var contentHashCode = kotlin_kotlin.$_$.s6;
|
|
90
|
-
var toString = kotlin_kotlin.$_$.
|
|
91
|
-
var defineProp = kotlin_kotlin.$_$.
|
|
92
|
-
var getNumberHashCode = kotlin_kotlin.$_$.
|
|
93
|
-
var equals = kotlin_kotlin.$_$.
|
|
90
|
+
var toString = kotlin_kotlin.$_$.yc;
|
|
91
|
+
var defineProp = kotlin_kotlin.$_$.lb;
|
|
92
|
+
var getNumberHashCode = kotlin_kotlin.$_$.pb;
|
|
93
|
+
var equals = kotlin_kotlin.$_$.mb;
|
|
94
94
|
var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i2;
|
|
95
|
-
var THROW_IAE = kotlin_kotlin.$_$.
|
|
95
|
+
var THROW_IAE = kotlin_kotlin.$_$.wg;
|
|
96
96
|
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.i;
|
|
97
|
-
var lazy_0 = kotlin_kotlin.$_$.
|
|
97
|
+
var lazy_0 = kotlin_kotlin.$_$.rh;
|
|
98
98
|
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g2;
|
|
99
|
-
var Enum = kotlin_kotlin.$_$.
|
|
100
|
-
var FunctionAdapter = kotlin_kotlin.$_$.
|
|
101
|
-
var Comparator = kotlin_kotlin.$_$.
|
|
102
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
103
|
-
var compareValues = kotlin_kotlin.$_$.
|
|
104
|
-
var toList = kotlin_kotlin.$_$.
|
|
99
|
+
var Enum = kotlin_kotlin.$_$.kg;
|
|
100
|
+
var FunctionAdapter = kotlin_kotlin.$_$.za;
|
|
101
|
+
var Comparator = kotlin_kotlin.$_$.hg;
|
|
102
|
+
var hashCode = kotlin_kotlin.$_$.sb;
|
|
103
|
+
var compareValues = kotlin_kotlin.$_$.ea;
|
|
104
|
+
var toList = kotlin_kotlin.$_$.r9;
|
|
105
105
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.n6;
|
|
106
106
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.k;
|
|
107
|
-
var sortedWith = kotlin_kotlin.$_$.
|
|
107
|
+
var sortedWith = kotlin_kotlin.$_$.i9;
|
|
108
108
|
var Duration__hashCode_impl_u4exz6 = kotlin_kotlin.$_$.j2;
|
|
109
109
|
var Duration__toString_impl_8d916b = kotlin_kotlin.$_$.o2;
|
|
110
110
|
var contentToString = kotlin_kotlin.$_$.t6;
|
|
111
|
-
var Duration = kotlin_kotlin.$_$.
|
|
111
|
+
var Duration = kotlin_kotlin.$_$.yf;
|
|
112
112
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.l;
|
|
113
113
|
var Collection = kotlin_kotlin.$_$.l5;
|
|
114
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
115
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
116
|
-
var enumEntries = kotlin_kotlin.$_$.
|
|
114
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.th;
|
|
115
|
+
var getStringHashCode = kotlin_kotlin.$_$.rb;
|
|
116
|
+
var enumEntries = kotlin_kotlin.$_$.xa;
|
|
117
117
|
var previousToOrNull = kotlin_io_raspberryapps_game_engine_core.$_$.y3;
|
|
118
118
|
var nextToOrNull = kotlin_io_raspberryapps_game_engine_core.$_$.w3;
|
|
119
119
|
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.a2;
|
|
120
120
|
var System_instance = kotlin_kotlin.$_$.y4;
|
|
121
121
|
var PlayerIdContract = kotlin_io_raspberryapps_game_engine_core.$_$.g;
|
|
122
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
123
|
-
var Comparable = kotlin_kotlin.$_$.
|
|
122
|
+
var toString_0 = kotlin_kotlin.$_$.zh;
|
|
123
|
+
var Comparable = kotlin_kotlin.$_$.gg;
|
|
124
124
|
var listOfNotNull = kotlin_kotlin.$_$.k8;
|
|
125
125
|
var joinToString = kotlin_kotlin.$_$.b8;
|
|
126
126
|
var get_amountOfCards = kotlin_io_raspberryapps_game_engine_core.$_$.e;
|
|
127
127
|
var Player = kotlin_io_raspberryapps_game_engine_core.$_$.k;
|
|
128
128
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.p1;
|
|
129
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
130
|
-
var single = kotlin_kotlin.$_$.
|
|
129
|
+
var objectCreate = kotlin_kotlin.$_$.tc;
|
|
130
|
+
var single = kotlin_kotlin.$_$.g9;
|
|
131
131
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.u;
|
|
132
132
|
var mapCapacity = kotlin_kotlin.$_$.n8;
|
|
133
133
|
var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.t;
|
|
134
|
-
var toMutableMap = kotlin_kotlin.$_$.
|
|
134
|
+
var toMutableMap = kotlin_kotlin.$_$.w9;
|
|
135
135
|
var UnsupportedOperationException_init_$Create$ = kotlin_kotlin.$_$.g2;
|
|
136
|
-
var toSet = kotlin_kotlin.$_$.
|
|
137
|
-
var sorted = kotlin_kotlin.$_$.
|
|
136
|
+
var toSet = kotlin_kotlin.$_$.y9;
|
|
137
|
+
var sorted = kotlin_kotlin.$_$.j9;
|
|
138
138
|
var createAnnotatedEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h2;
|
|
139
139
|
var last = kotlin_kotlin.$_$.h8;
|
|
140
|
-
var sum = kotlin_kotlin.$_$.
|
|
140
|
+
var sum = kotlin_kotlin.$_$.k9;
|
|
141
141
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.t1;
|
|
142
142
|
var first = kotlin_kotlin.$_$.q7;
|
|
143
143
|
var first_0 = kotlin_kotlin.$_$.s7;
|
|
144
144
|
var contains = kotlin_kotlin.$_$.o6;
|
|
145
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
145
|
+
var initMetadataForObject = kotlin_kotlin.$_$.yb;
|
|
146
146
|
var checkIndexOverflow = kotlin_kotlin.$_$.m6;
|
|
147
147
|
var getPoint = kotlin_io_raspberryapps_game_engine_core.$_$.q1;
|
|
148
148
|
var Toggles_instance = kotlin_io_raspberryapps_game_engine_core.$_$.g6;
|
|
@@ -150,20 +150,20 @@
|
|
|
150
150
|
var MechanicException = kotlin_io_raspberryapps_game_engine_core.$_$.b;
|
|
151
151
|
var asJsReadonlyArrayView = kotlin_kotlin.$_$.r5;
|
|
152
152
|
var KtList = kotlin_kotlin.$_$.s5;
|
|
153
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
153
|
+
var ensureNotNull = kotlin_kotlin.$_$.mh;
|
|
154
154
|
var GameCard = kotlin_io_raspberryapps_cardgame_core.$_$.r;
|
|
155
155
|
var firstOrNull = kotlin_kotlin.$_$.n7;
|
|
156
156
|
var Companion_instance = kotlin_io_raspberryapps_cardgame_core.$_$.n;
|
|
157
157
|
var flatten = kotlin_kotlin.$_$.t7;
|
|
158
|
-
var to = kotlin_kotlin.$_$.
|
|
158
|
+
var to = kotlin_kotlin.$_$.ai;
|
|
159
159
|
var mapOf = kotlin_kotlin.$_$.o8;
|
|
160
160
|
var asSequence = kotlin_kotlin.$_$.h6;
|
|
161
|
-
var filter = kotlin_kotlin.$_$.
|
|
162
|
-
var map = kotlin_kotlin.$_$.
|
|
163
|
-
var firstOrNull_0 = kotlin_kotlin.$_$.
|
|
161
|
+
var filter = kotlin_kotlin.$_$.sd;
|
|
162
|
+
var map = kotlin_kotlin.$_$.wd;
|
|
163
|
+
var firstOrNull_0 = kotlin_kotlin.$_$.td;
|
|
164
164
|
var CardIndexComparator_instance = kotlin_io_raspberryapps_cardgame_core.$_$.l;
|
|
165
165
|
var lastOrNull = kotlin_kotlin.$_$.g8;
|
|
166
|
-
var toMap = kotlin_kotlin.$_$.
|
|
166
|
+
var toMap = kotlin_kotlin.$_$.u9;
|
|
167
167
|
var PlayerIdOrderComparator = kotlin_io_raspberryapps_game_engine_core.$_$.h;
|
|
168
168
|
var getValue = kotlin_kotlin.$_$.w7;
|
|
169
169
|
var PlayerIdContractOrderComparator = kotlin_io_raspberryapps_game_engine_core.$_$.f;
|
|
@@ -202,21 +202,21 @@
|
|
|
202
202
|
var Companion_getInstance_3 = kotlin_kotlin.$_$.a5;
|
|
203
203
|
var getOrNull = kotlin_kotlin.$_$.v7;
|
|
204
204
|
var _Duration___get_inWholeMilliseconds__impl__msfiry = kotlin_kotlin.$_$.k2;
|
|
205
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
205
|
+
var coerceAtLeast = kotlin_kotlin.$_$.ed;
|
|
206
206
|
var Companion_getInstance_4 = kotlin_kotlin.$_$.z4;
|
|
207
207
|
var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.g;
|
|
208
|
-
var toDuration = kotlin_kotlin.$_$.
|
|
208
|
+
var toDuration = kotlin_kotlin.$_$.bg;
|
|
209
209
|
var InterceptableAction = kotlin_io_raspberryapps_game_engine_core.$_$.u2;
|
|
210
|
-
var toIntOrNull = kotlin_kotlin.$_$.
|
|
210
|
+
var toIntOrNull = kotlin_kotlin.$_$.lf;
|
|
211
211
|
var mapFromDto_2 = kotlin_io_raspberryapps_game_engine_core.$_$.z;
|
|
212
212
|
var listOfNotNull_0 = kotlin_kotlin.$_$.j8;
|
|
213
213
|
var mapToDto_2 = kotlin_io_raspberryapps_game_engine_core.$_$.g1;
|
|
214
|
-
var singleOrNull = kotlin_kotlin.$_$.
|
|
214
|
+
var singleOrNull = kotlin_kotlin.$_$.f9;
|
|
215
215
|
var RulesDto = kotlin_io_raspberryapps_game_engine_core.$_$.l1;
|
|
216
216
|
var Companion_instance_0 = kotlin_io_raspberryapps_game_engine_core.$_$.r5;
|
|
217
217
|
var Companion_instance_1 = kotlin_io_raspberryapps_game_engine_core.$_$.p5;
|
|
218
218
|
var PlayerConnectionState_LIVE_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.t4;
|
|
219
|
-
var toDuration_0 = kotlin_kotlin.$_$.
|
|
219
|
+
var toDuration_0 = kotlin_kotlin.$_$.cg;
|
|
220
220
|
var PlayerConnectionState_LEFT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.s4;
|
|
221
221
|
var mapFromDto_3 = kotlin_io_raspberryapps_game_engine_core.$_$.x;
|
|
222
222
|
var mapToDto_3 = kotlin_io_raspberryapps_game_engine_core.$_$.f1;
|
|
@@ -229,10 +229,10 @@
|
|
|
229
229
|
var $serializer_getInstance_1 = kotlin_io_raspberryapps_game_engine_core.$_$.w5;
|
|
230
230
|
var InstantSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t;
|
|
231
231
|
var PlayerState = kotlin_io_raspberryapps_game_engine_core.$_$.j;
|
|
232
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
232
|
+
var charSequenceLength = kotlin_kotlin.$_$.ib;
|
|
233
233
|
var LoggerPayload = kotlin_io_raspberryapps_cardgame_logger.$_$.e;
|
|
234
234
|
var CardGrowthComparator = kotlin_io_raspberryapps_game_engine_core.$_$.n1;
|
|
235
|
-
var take = kotlin_kotlin.$_$.
|
|
235
|
+
var take = kotlin_kotlin.$_$.m9;
|
|
236
236
|
var CardName_ACE_getInstance = kotlin_io_raspberryapps_cardgame_core.$_$.a;
|
|
237
237
|
var CardName_KING_getInstance = kotlin_io_raspberryapps_cardgame_core.$_$.d;
|
|
238
238
|
var CardName_QUEEN_getInstance = kotlin_io_raspberryapps_cardgame_core.$_$.f;
|
|
@@ -266,50 +266,48 @@
|
|
|
266
266
|
var CombinationsCheckerProvider = kotlin_io_raspberryapps_cardgame_core.$_$.b1;
|
|
267
267
|
var CombinationsCheckerProviderImpl = kotlin_io_raspberryapps_cardgame_core.$_$.a1;
|
|
268
268
|
var MutableSharedFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.u;
|
|
269
|
-
var toList_0 = kotlin_kotlin.$_$.
|
|
270
|
-
var plus_0 = kotlin_kotlin.$_$.
|
|
269
|
+
var toList_0 = kotlin_kotlin.$_$.q9;
|
|
270
|
+
var plus_0 = kotlin_kotlin.$_$.x8;
|
|
271
271
|
var LinkedHashSet_init_$Create$ = kotlin_kotlin.$_$.w;
|
|
272
|
-
var toMutableSet = kotlin_kotlin.$_$.
|
|
272
|
+
var toMutableSet = kotlin_kotlin.$_$.x9;
|
|
273
273
|
var filterByCardName = kotlin_io_raspberryapps_cardgame_core.$_$.x;
|
|
274
274
|
var first_1 = kotlin_kotlin.$_$.r7;
|
|
275
|
-
var setOf = kotlin_kotlin.$_$.
|
|
276
|
-
var setOf_0 = kotlin_kotlin.$_$.
|
|
275
|
+
var setOf = kotlin_kotlin.$_$.d9;
|
|
276
|
+
var setOf_0 = kotlin_kotlin.$_$.e9;
|
|
277
277
|
var NoSuchElementException_init_$Create$_0 = kotlin_kotlin.$_$.y1;
|
|
278
|
-
var compareTo = kotlin_kotlin.$_$.
|
|
278
|
+
var compareTo = kotlin_kotlin.$_$.kb;
|
|
279
279
|
var distributeCardsBottom = kotlin_io_raspberryapps_cardgame_core.$_$.v;
|
|
280
280
|
var distributeCardsTop = kotlin_io_raspberryapps_cardgame_core.$_$.w;
|
|
281
|
-
var toMutableList = kotlin_kotlin.$_$.
|
|
281
|
+
var toMutableList = kotlin_kotlin.$_$.v9;
|
|
282
282
|
var CardsRandomProvider_RANDOM_ORG_SIGNED_getInstance = kotlin_io_raspberryapps_cardgame_core.$_$.j;
|
|
283
283
|
var CardsRandomProvider_RANDOM_ORG_getInstance = kotlin_io_raspberryapps_cardgame_core.$_$.k;
|
|
284
284
|
var CardsRandomProvider_CUSTOM_getInstance = kotlin_io_raspberryapps_cardgame_core.$_$.i;
|
|
285
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
285
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.vb;
|
|
286
286
|
var get_indices = kotlin_kotlin.$_$.a8;
|
|
287
|
-
var abs = kotlin_kotlin.$_$.
|
|
288
|
-
var zip = kotlin_kotlin.$_$.
|
|
287
|
+
var abs = kotlin_kotlin.$_$.zc;
|
|
288
|
+
var zip = kotlin_kotlin.$_$.ba;
|
|
289
289
|
var Team = kotlin_io_raspberryapps_game_engine_core.$_$.l;
|
|
290
290
|
var getValueInHand = kotlin_io_raspberryapps_game_engine_core.$_$.r1;
|
|
291
291
|
var AgentType_BOT_NATIVE_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.n4;
|
|
292
|
-
var average = kotlin_kotlin.$_$.i6;
|
|
293
|
-
var minOrNull = kotlin_kotlin.$_$.r8;
|
|
294
|
-
var maxOrNull = kotlin_kotlin.$_$.q8;
|
|
295
|
-
var numberToInt = kotlin_kotlin.$_$.tc;
|
|
296
|
-
var coerceAtLeast_0 = kotlin_kotlin.$_$.fd;
|
|
297
292
|
var AgentType_BOT_REPLACEMENT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.o4;
|
|
293
|
+
var numberToInt = kotlin_kotlin.$_$.rc;
|
|
294
|
+
var coerceIn = kotlin_kotlin.$_$.hd;
|
|
295
|
+
var coerceAtLeast_0 = kotlin_kotlin.$_$.dd;
|
|
298
296
|
var checkCountOverflow = kotlin_kotlin.$_$.l6;
|
|
299
|
-
var
|
|
300
|
-
var
|
|
297
|
+
var roundToInt = kotlin_kotlin.$_$.ad;
|
|
298
|
+
var average = kotlin_kotlin.$_$.i6;
|
|
301
299
|
var mapToFinishReason = kotlin_io_raspberryapps_game_engine_core.$_$.s;
|
|
302
300
|
var StopTimerAction = kotlin_io_raspberryapps_game_engine_core.$_$.x2;
|
|
303
301
|
var TimerType_DELAY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.h5;
|
|
304
302
|
var StartTimerAction = kotlin_io_raspberryapps_game_engine_core.$_$.w2;
|
|
305
303
|
var PlayerConnectionState_DISCONNECTING_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.r4;
|
|
306
|
-
var toLong = kotlin_kotlin.$_$.
|
|
304
|
+
var toLong = kotlin_kotlin.$_$.wc;
|
|
307
305
|
var PlayerReturnsReason = kotlin_io_raspberryapps_game_engine_core.$_$.z1;
|
|
308
306
|
var nextToPlayerId = kotlin_io_raspberryapps_game_engine_core.$_$.u;
|
|
309
307
|
var previousPlayerId = kotlin_io_raspberryapps_game_engine_core.$_$.v;
|
|
310
308
|
var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_core.$_$.b6;
|
|
311
|
-
var contains_0 = kotlin_kotlin.$_$.
|
|
312
|
-
var split = kotlin_kotlin.$_$.
|
|
309
|
+
var contains_0 = kotlin_kotlin.$_$.zd;
|
|
310
|
+
var split = kotlin_kotlin.$_$.af;
|
|
313
311
|
var UserInfoData = kotlin_io_raspberryapps_cardgame_random.$_$.c;
|
|
314
312
|
var CardDeckRequestUserData = kotlin_io_raspberryapps_cardgame_random.$_$.a;
|
|
315
313
|
var get_actionTag = kotlin_io_raspberryapps_game_engine_core.$_$.d3;
|
|
@@ -342,7 +340,7 @@
|
|
|
342
340
|
var Middleware = kotlin_io_raspberryapps_game_engine_core.$_$.f3;
|
|
343
341
|
var middleware = kotlin_io_raspberryapps_game_engine_core.$_$.j3;
|
|
344
342
|
var filterPlayerTurn = kotlin_io_raspberryapps_game_engine_core.$_$.o;
|
|
345
|
-
var Result = kotlin_kotlin.$_$.
|
|
343
|
+
var Result = kotlin_kotlin.$_$.tg;
|
|
346
344
|
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s;
|
|
347
345
|
var LoggerOutputDataDto = kotlin_io_raspberryapps_game_engine_core.$_$.p3;
|
|
348
346
|
var Reason_FINISHED_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.f5;
|
|
@@ -360,16 +358,16 @@
|
|
|
360
358
|
var ArrayDeque_init_$Create$ = kotlin_kotlin.$_$.j;
|
|
361
359
|
var Reducer = kotlin_io_raspberryapps_game_engine_core.$_$.g3;
|
|
362
360
|
var TimerAction = kotlin_io_raspberryapps_game_engine_core.$_$.y2;
|
|
363
|
-
var minus = kotlin_kotlin.$_$.
|
|
361
|
+
var minus = kotlin_kotlin.$_$.q8;
|
|
364
362
|
var updateOrAddItems = kotlin_io_raspberryapps_game_engine_core.$_$.f4;
|
|
365
363
|
var get_byIdPlayerPredicate = kotlin_io_raspberryapps_game_engine_core.$_$.m;
|
|
366
364
|
var updateItem = kotlin_io_raspberryapps_game_engine_core.$_$.d4;
|
|
367
|
-
var toDuration_1 = kotlin_kotlin.$_$.
|
|
365
|
+
var toDuration_1 = kotlin_kotlin.$_$.ag;
|
|
368
366
|
var updated = kotlin_io_raspberryapps_game_engine_core.$_$.g4;
|
|
369
367
|
var PlayerWaitingState_IN_PROGRESS_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.x4;
|
|
370
368
|
var getProgress = kotlin_io_raspberryapps_game_engine_core.$_$.r;
|
|
371
|
-
var takeLast = kotlin_kotlin.$_$.
|
|
372
|
-
var plus_1 = kotlin_kotlin.$_$.
|
|
369
|
+
var takeLast = kotlin_kotlin.$_$.l9;
|
|
370
|
+
var plus_1 = kotlin_kotlin.$_$.t8;
|
|
373
371
|
var updateLastItem = kotlin_io_raspberryapps_game_engine_core.$_$.e4;
|
|
374
372
|
var d = kotlin_io_raspberryapps_cardgame_logger.$_$.h;
|
|
375
373
|
var e = kotlin_io_raspberryapps_cardgame_logger.$_$.i;
|
|
@@ -382,18 +380,18 @@
|
|
|
382
380
|
var get_atomicfu$reentrantLock = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.a;
|
|
383
381
|
var LogType_DEBUG_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.i5;
|
|
384
382
|
var LogType_ERROR_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.j5;
|
|
385
|
-
var stackTraceToString = kotlin_kotlin.$_$.
|
|
386
|
-
var take_0 = kotlin_kotlin.$_$.
|
|
383
|
+
var stackTraceToString = kotlin_kotlin.$_$.wh;
|
|
384
|
+
var take_0 = kotlin_kotlin.$_$.hf;
|
|
387
385
|
var LogType_INFO_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.k5;
|
|
388
386
|
var LogType_VERBOSE_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.l5;
|
|
389
387
|
var LogType_WARN_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.m5;
|
|
390
388
|
var get_entries = kotlin_io_raspberryapps_game_engine_core.$_$.n3;
|
|
391
389
|
var LoggerEnabledTrigger = kotlin_io_raspberryapps_cardgame_logger.$_$.d;
|
|
392
|
-
var isArray = kotlin_kotlin.$_$.
|
|
390
|
+
var isArray = kotlin_kotlin.$_$.zb;
|
|
393
391
|
var mapOfObject = kotlin_io_raspberryapps_game_engine_core.$_$.v3;
|
|
394
392
|
var GameUserInfo = kotlin_io_raspberryapps_game_engine_core.$_$.d;
|
|
395
393
|
var generateMsg = kotlin_io_raspberryapps_cardgame_logger.$_$.b;
|
|
396
|
-
var mutableListOf = kotlin_kotlin.$_$.
|
|
394
|
+
var mutableListOf = kotlin_kotlin.$_$.r8;
|
|
397
395
|
var CombinedRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.c;
|
|
398
396
|
var PlatformRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.f;
|
|
399
397
|
var Companion_instance_3 = kotlin_org_kodein_di_kodein_di.$_$.b;
|
|
@@ -47921,8 +47919,8 @@
|
|
|
47921
47919
|
}
|
|
47922
47920
|
var opp = tmp$ret$7;
|
|
47923
47921
|
var expected = expectedOneOnOne($this, item.j7m_1, opp.j7m_1, 400.0);
|
|
47924
|
-
var actualBin =
|
|
47925
|
-
var kEff =
|
|
47922
|
+
var actualBin = item.k7m_1 >= realMaxScore ? 1.0 : 0.0;
|
|
47923
|
+
var kEff = baseK($this, item.n7m_1, gameComplexityCoefficient);
|
|
47926
47924
|
var newRating = eloBinaryWithScoreFactor($this, item.j7m_1, expected, actualBin, realMinScore, realMaxScore, item.k7m_1, minUserRating, maxUserRating, limitByMaxRating, kEff);
|
|
47927
47925
|
tmp$ret$5 = new PlayerRatingOutput(item.i7m_1, item.j7m_1, newRating, item.l7m_1);
|
|
47928
47926
|
}
|
|
@@ -47930,22 +47928,26 @@
|
|
|
47930
47928
|
}
|
|
47931
47929
|
return destination;
|
|
47932
47930
|
}
|
|
47933
|
-
function
|
|
47931
|
+
function calculateFfaPairwise($this, maxScore, ratingList, minUserRating, maxUserRating, limitByMaxRating, gameComplexityCoefficient) {
|
|
47934
47932
|
// Inline function 'kotlin.require' call
|
|
47935
47933
|
if (!(ratingList.m() >= 2)) {
|
|
47936
47934
|
var message = 'At least two players are required';
|
|
47937
47935
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
47938
47936
|
}
|
|
47937
|
+
var n = ratingList.m();
|
|
47938
|
+
// Inline function 'kotlin.math.max' call
|
|
47939
|
+
var b = n - 2 | 0;
|
|
47940
|
+
var extra = Math.max(0, b);
|
|
47939
47941
|
// Inline function 'kotlin.collections.map' call
|
|
47940
47942
|
// Inline function 'kotlin.collections.mapTo' call
|
|
47941
47943
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(ratingList, 10));
|
|
47942
47944
|
var _iterator__ex2g4s = ratingList.j();
|
|
47943
47945
|
while (_iterator__ex2g4s.k()) {
|
|
47944
47946
|
var item = _iterator__ex2g4s.l();
|
|
47945
|
-
var tmp$ret$
|
|
47947
|
+
var tmp$ret$3;
|
|
47946
47948
|
$l$block: {
|
|
47947
47949
|
if (item.m7m_1.equals(AgentType_BOT_NATIVE_getInstance()) && false) {
|
|
47948
|
-
tmp$ret$
|
|
47950
|
+
tmp$ret$3 = frozenOutput($this, item);
|
|
47949
47951
|
break $l$block;
|
|
47950
47952
|
}
|
|
47951
47953
|
// Inline function 'kotlin.collections.filter' call
|
|
@@ -47959,45 +47961,59 @@
|
|
|
47959
47961
|
}
|
|
47960
47962
|
}
|
|
47961
47963
|
var others = destination_0;
|
|
47962
|
-
// Inline function 'kotlin.collections.
|
|
47963
|
-
|
|
47964
|
-
var destination_1 = ArrayList_init_$Create$(collectionSizeOrDefault(others, 10));
|
|
47964
|
+
// Inline function 'kotlin.collections.sumOf' call
|
|
47965
|
+
var sum = 0;
|
|
47965
47966
|
var _iterator__ex2g4s_1 = others.j();
|
|
47966
47967
|
while (_iterator__ex2g4s_1.k()) {
|
|
47967
|
-
var
|
|
47968
|
-
var tmp
|
|
47969
|
-
|
|
47968
|
+
var element_0 = _iterator__ex2g4s_1.l();
|
|
47969
|
+
var tmp = sum;
|
|
47970
|
+
sum = tmp + pBeats($this, item.j7m_1, element_0.j7m_1, 700.0);
|
|
47970
47971
|
}
|
|
47971
|
-
var
|
|
47972
|
-
|
|
47973
|
-
// Inline function 'kotlin.collections.
|
|
47974
|
-
var
|
|
47972
|
+
var expectedSum = sum;
|
|
47973
|
+
var tmp_0;
|
|
47974
|
+
// Inline function 'kotlin.collections.sumOf' call
|
|
47975
|
+
var sum_0 = 0;
|
|
47975
47976
|
var _iterator__ex2g4s_2 = others.j();
|
|
47976
47977
|
while (_iterator__ex2g4s_2.k()) {
|
|
47977
|
-
var
|
|
47978
|
-
var
|
|
47979
|
-
|
|
47980
|
-
}
|
|
47981
|
-
|
|
47982
|
-
|
|
47983
|
-
|
|
47984
|
-
|
|
47985
|
-
|
|
47986
|
-
|
|
47978
|
+
var element_1 = _iterator__ex2g4s_2.l();
|
|
47979
|
+
var tmp_1 = sum_0;
|
|
47980
|
+
sum_0 = tmp_1 + pairActualHybrid($this, item.k7m_1, element_1.k7m_1, maxScore);
|
|
47981
|
+
}
|
|
47982
|
+
tmp_0 = sum_0;
|
|
47983
|
+
var actualSum = tmp_0;
|
|
47984
|
+
if (true && item.m7m_1.equals(AgentType_BOT_REPLACEMENT_getInstance())) {
|
|
47985
|
+
actualSum = 0.0;
|
|
47986
|
+
}
|
|
47987
|
+
var diff = actualSum - expectedSum;
|
|
47988
|
+
var diffPos = diff > 0.0 ? diff : 0.0;
|
|
47989
|
+
var diffNeg = diff < 0.0 ? diff / (n - 1 | 0) : 0.0;
|
|
47990
|
+
if (diffNeg < 0.0 && item.k7m_1 >= numberToInt(0.75 * maxScore)) {
|
|
47991
|
+
diffNeg = diffNeg * 0.6;
|
|
47992
|
+
}
|
|
47993
|
+
var kBase = baseK($this, item.n7m_1, gameComplexityCoefficient);
|
|
47994
|
+
var kWin = 1.0 + 0.25 * extra;
|
|
47995
|
+
// Inline function 'kotlin.math.max' call
|
|
47996
|
+
var b_0 = 1.0 - 0.1 * extra;
|
|
47997
|
+
var kLoss = Math.max(0.6, b_0);
|
|
47998
|
+
var raw = item.j7m_1 + kBase * (kWin * diffPos + kLoss * diffNeg);
|
|
47999
|
+
var newRating = clampAndRound($this, raw, minUserRating, maxUserRating, limitByMaxRating);
|
|
48000
|
+
tmp$ret$3 = new PlayerRatingOutput(item.i7m_1, item.j7m_1, newRating, item.l7m_1);
|
|
47987
48001
|
}
|
|
47988
|
-
destination.e(tmp$ret$
|
|
48002
|
+
destination.e(tmp$ret$3);
|
|
47989
48003
|
}
|
|
47990
48004
|
return destination;
|
|
47991
48005
|
}
|
|
48006
|
+
function pairActualHybrid($this, myPoints, oppPoints, maxScore) {
|
|
48007
|
+
var rel = coerceIn((myPoints - oppPoints | 0) / maxScore, -1.0, 1.0);
|
|
48008
|
+
var abs = myPoints / maxScore - 0.9;
|
|
48009
|
+
var s = 0.5 + 0.28 * rel + 0.12 * abs;
|
|
48010
|
+
return coerceIn(s, 0.0, 1.0);
|
|
48011
|
+
}
|
|
47992
48012
|
function eloBinaryWithScoreFactor($this, currentRating, expected, actual, minScore, maxScore, playerScore, minUserRating, maxUserRating, limitByMaxRating, kFactor) {
|
|
47993
48013
|
var scoreFactor = scoreDifferenceFactor($this, actual, minScore, maxScore, playerScore);
|
|
47994
48014
|
var raw = currentRating + kFactor * scoreFactor * (actual - expected);
|
|
47995
48015
|
return clampAndRound($this, raw, minUserRating, maxUserRating, limitByMaxRating);
|
|
47996
48016
|
}
|
|
47997
|
-
function eloContinuous($this, currentRating, expected, actual, minUserRating, maxUserRating, limitByMaxRating, kTotal) {
|
|
47998
|
-
var raw = currentRating + kTotal * (actual - expected);
|
|
47999
|
-
return clampAndRound($this, raw, minUserRating, maxUserRating, limitByMaxRating);
|
|
48000
|
-
}
|
|
48001
48017
|
function pBeats($this, rA, rB, scale) {
|
|
48002
48018
|
// Inline function 'kotlin.math.pow' call
|
|
48003
48019
|
var x = (rB - rA) / scale;
|
|
@@ -48006,44 +48022,6 @@
|
|
|
48006
48022
|
function expectedOneOnOne($this, current, opponent, scale) {
|
|
48007
48023
|
return pBeats($this, current, opponent, scale);
|
|
48008
48024
|
}
|
|
48009
|
-
function expectedVsField($this, myRating, oppRatings, scale) {
|
|
48010
|
-
var tmp;
|
|
48011
|
-
if (oppRatings.p()) {
|
|
48012
|
-
tmp = 0.5;
|
|
48013
|
-
} else {
|
|
48014
|
-
// Inline function 'kotlin.collections.map' call
|
|
48015
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
48016
|
-
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(oppRatings, 10));
|
|
48017
|
-
var _iterator__ex2g4s = oppRatings.j();
|
|
48018
|
-
while (_iterator__ex2g4s.k()) {
|
|
48019
|
-
var item = _iterator__ex2g4s.l();
|
|
48020
|
-
var tmp$ret$0 = pBeats($this, myRating, item, scale);
|
|
48021
|
-
destination.e(tmp$ret$0);
|
|
48022
|
-
}
|
|
48023
|
-
tmp = average(destination);
|
|
48024
|
-
}
|
|
48025
|
-
return tmp;
|
|
48026
|
-
}
|
|
48027
|
-
function actualVsField($this, meScore, othersScores, placementWeight) {
|
|
48028
|
-
if (othersScores.p())
|
|
48029
|
-
return 0.5;
|
|
48030
|
-
// Inline function 'kotlin.collections.map' call
|
|
48031
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
48032
|
-
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(othersScores, 10));
|
|
48033
|
-
var _iterator__ex2g4s = othersScores.j();
|
|
48034
|
-
while (_iterator__ex2g4s.k()) {
|
|
48035
|
-
var item = _iterator__ex2g4s.l();
|
|
48036
|
-
var tmp$ret$0 = meScore > item ? 1.0 : meScore < item ? 0.0 : 0.5;
|
|
48037
|
-
destination.e(tmp$ret$0);
|
|
48038
|
-
}
|
|
48039
|
-
var placement = average(destination);
|
|
48040
|
-
var tmp0_elvis_lhs = minOrNull(othersScores);
|
|
48041
|
-
var minS = tmp0_elvis_lhs == null ? meScore : tmp0_elvis_lhs;
|
|
48042
|
-
var tmp1_elvis_lhs = maxOrNull(othersScores);
|
|
48043
|
-
var maxS = tmp1_elvis_lhs == null ? meScore : tmp1_elvis_lhs;
|
|
48044
|
-
var pointsShare = maxS === minS ? placement : coerceAtLeast(meScore - minS | 0, 0) / (maxS - minS | 0);
|
|
48045
|
-
return placementWeight * placement + (1 - placementWeight) * pointsShare;
|
|
48046
|
-
}
|
|
48047
48025
|
function scoreDifferenceFactor($this, actual, minScore, maxScore, playerScore) {
|
|
48048
48026
|
if (actual === 1.0)
|
|
48049
48027
|
return 1.0;
|
|
@@ -48054,18 +48032,12 @@
|
|
|
48054
48032
|
var proportion = (maxScore - playerScore) / denom;
|
|
48055
48033
|
return 0.5 * (1 + proportion);
|
|
48056
48034
|
}
|
|
48057
|
-
function
|
|
48058
|
-
return
|
|
48035
|
+
function baseK($this, playedGamesCount, gameComplexityCoefficient) {
|
|
48036
|
+
return 30 * kByExperience($this, playedGamesCount) * gameComplexityCoefficient;
|
|
48059
48037
|
}
|
|
48060
48038
|
function kByExperience($this, playedGames) {
|
|
48061
48039
|
return playedGames < 10 ? 1.5 : playedGames < 30 ? 1.2 : 1.0;
|
|
48062
48040
|
}
|
|
48063
|
-
function effectiveK($this, baseK, nCompetitors, playedGamesCount, gameComplexityCoefficient) {
|
|
48064
|
-
return baseK * kByPlayers($this, nCompetitors) * kByExperience($this, playedGamesCount) * gameComplexityCoefficient;
|
|
48065
|
-
}
|
|
48066
|
-
function shouldForceDecrease($this, p) {
|
|
48067
|
-
return true && p.m7m_1.equals(AgentType_BOT_REPLACEMENT_getInstance());
|
|
48068
|
-
}
|
|
48069
48041
|
function frozenOutput($this, p) {
|
|
48070
48042
|
return new PlayerRatingOutput(p.i7m_1, p.j7m_1, p.j7m_1, p.l7m_1);
|
|
48071
48043
|
}
|
|
@@ -48173,7 +48145,7 @@
|
|
|
48173
48145
|
if (ratingList.m() <= 2) {
|
|
48174
48146
|
tmp = calculateHeadToHead(this, ratingList, minUserRating, maxUserRating, limitByMaxRating, gameComplexityCoefficient);
|
|
48175
48147
|
} else {
|
|
48176
|
-
tmp =
|
|
48148
|
+
tmp = calculateFfaPairwise(this, maxScore, ratingList, minUserRating, maxUserRating, limitByMaxRating, gameComplexityCoefficient);
|
|
48177
48149
|
}
|
|
48178
48150
|
return tmp;
|
|
48179
48151
|
};
|
|
@@ -48259,8 +48231,8 @@
|
|
|
48259
48231
|
break $l$block;
|
|
48260
48232
|
}
|
|
48261
48233
|
var expected = expectedOneOnOne(this, item_1.j7m_1, avgLosers, 400.0);
|
|
48262
|
-
var actualBin =
|
|
48263
|
-
var kEff =
|
|
48234
|
+
var actualBin = 1.0;
|
|
48235
|
+
var kEff = baseK(this, item_1.n7m_1, gameComplexityCoefficient);
|
|
48264
48236
|
var newRating = eloBinaryWithScoreFactor(this, item_1.j7m_1, expected, actualBin, realMinScore, realMaxScore, winnersScore, minUserRating, maxUserRating, limitByMaxRating, kEff);
|
|
48265
48237
|
tmp$ret$18 = new PlayerRatingOutput(item_1.i7m_1, item_1.j7m_1, newRating, item_1.l7m_1);
|
|
48266
48238
|
}
|
|
@@ -48281,7 +48253,7 @@
|
|
|
48281
48253
|
}
|
|
48282
48254
|
var expected_0 = expectedOneOnOne(this, item_2.j7m_1, avgWinners, 400.0);
|
|
48283
48255
|
var actualBin_0 = 0.0;
|
|
48284
|
-
var kEff_0 =
|
|
48256
|
+
var kEff_0 = baseK(this, item_2.n7m_1, gameComplexityCoefficient);
|
|
48285
48257
|
var newRating_0 = eloBinaryWithScoreFactor(this, item_2.j7m_1, expected_0, actualBin_0, realMinScore, realMaxScore, losersScore, minUserRating, maxUserRating, limitByMaxRating, kEff_0);
|
|
48286
48258
|
tmp$ret$21 = new PlayerRatingOutput(item_2.i7m_1, item_2.j7m_1, newRating_0, item_2.l7m_1);
|
|
48287
48259
|
}
|