raspberry_games_server_game_logic 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-core.js +53 -52
- 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_server.js +38 -38
- package/error-library-error.js +5 -5
- package/kotlin-kotlin-stdlib.js +267 -281
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +5 -5
- package/kotlinx-coroutines-core.js +57 -57
- 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.$_$.lg;
|
|
47
|
+
var protoOf = kotlin_kotlin.$_$.qc;
|
|
48
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.qb;
|
|
49
49
|
var AsyncProvider = kotlin_io_raspberryapps_game_engine_core.$_$.m1;
|
|
50
50
|
var getKClass = kotlin_kotlin.$_$.e;
|
|
51
|
-
var arrayOf = kotlin_kotlin.$_$.
|
|
51
|
+
var arrayOf = kotlin_kotlin.$_$.eh;
|
|
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.$_$.qg;
|
|
55
55
|
var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
|
|
56
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
56
|
+
var isInterface = kotlin_kotlin.$_$.dc;
|
|
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.$_$.md;
|
|
59
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.mb;
|
|
60
60
|
var JobsProvider = kotlin_io_raspberryapps_game_engine_core.$_$.o1;
|
|
61
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
61
|
+
var initMetadataForClass = kotlin_kotlin.$_$.pb;
|
|
62
62
|
var VOID = kotlin_kotlin.$_$.f;
|
|
63
63
|
var listOf = kotlin_kotlin.$_$.j8;
|
|
64
|
-
var plus = kotlin_kotlin.$_$.
|
|
64
|
+
var plus = kotlin_kotlin.$_$.t8;
|
|
65
65
|
var copyToArray = kotlin_kotlin.$_$.c7;
|
|
66
66
|
var combineReducers = kotlin_io_raspberryapps_game_engine_core.$_$.k2;
|
|
67
67
|
var applyCatcher = kotlin_io_raspberryapps_game_engine_core.$_$.c2;
|
|
68
68
|
var applyMiddleware = kotlin_io_raspberryapps_game_engine_core.$_$.d2;
|
|
69
69
|
var compose = kotlin_io_raspberryapps_game_engine_core.$_$.n2;
|
|
70
70
|
var createStore = kotlin_io_raspberryapps_game_engine_core.$_$.o2;
|
|
71
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
71
|
+
var CoroutineImpl = kotlin_kotlin.$_$.ra;
|
|
72
72
|
var Unit_instance = kotlin_kotlin.$_$.j5;
|
|
73
73
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.i1;
|
|
74
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
75
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
74
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ca;
|
|
75
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.tb;
|
|
76
76
|
var emptyList = kotlin_kotlin.$_$.h7;
|
|
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.$_$.nh;
|
|
79
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.sb;
|
|
80
80
|
var listOf_0 = kotlin_kotlin.$_$.k8;
|
|
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.$_$.o6;
|
|
88
|
-
var getBooleanHashCode = kotlin_kotlin.$_$.
|
|
88
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.kb;
|
|
89
89
|
var contentHashCode = kotlin_kotlin.$_$.r6;
|
|
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.$_$.uc;
|
|
91
|
+
var defineProp = kotlin_kotlin.$_$.hb;
|
|
92
|
+
var getNumberHashCode = kotlin_kotlin.$_$.lb;
|
|
93
|
+
var equals = kotlin_kotlin.$_$.ib;
|
|
94
94
|
var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h2;
|
|
95
|
-
var THROW_IAE = kotlin_kotlin.$_$.
|
|
95
|
+
var THROW_IAE = kotlin_kotlin.$_$.rg;
|
|
96
96
|
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.i;
|
|
97
|
-
var lazy_0 = kotlin_kotlin.$_$.
|
|
97
|
+
var lazy_0 = kotlin_kotlin.$_$.mh;
|
|
98
98
|
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
|
|
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.$_$.gg;
|
|
100
|
+
var FunctionAdapter = kotlin_kotlin.$_$.va;
|
|
101
|
+
var Comparator = kotlin_kotlin.$_$.dg;
|
|
102
|
+
var hashCode = kotlin_kotlin.$_$.ob;
|
|
103
|
+
var compareValues = kotlin_kotlin.$_$.aa;
|
|
104
|
+
var toList = kotlin_kotlin.$_$.o9;
|
|
105
105
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.m6;
|
|
106
106
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.k;
|
|
107
|
-
var sortedWith = kotlin_kotlin.$_$.
|
|
107
|
+
var sortedWith = kotlin_kotlin.$_$.f9;
|
|
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.$_$.s6;
|
|
111
|
-
var Duration = kotlin_kotlin.$_$.
|
|
111
|
+
var Duration = kotlin_kotlin.$_$.uf;
|
|
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.$_$.oh;
|
|
115
|
+
var getStringHashCode = kotlin_kotlin.$_$.nb;
|
|
116
|
+
var enumEntries = kotlin_kotlin.$_$.ta;
|
|
117
117
|
var previousToOrNull = kotlin_io_raspberryapps_game_engine_core.$_$.w2;
|
|
118
118
|
var nextToOrNull = kotlin_io_raspberryapps_game_engine_core.$_$.u2;
|
|
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.$_$.f;
|
|
122
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
123
|
-
var Comparable = kotlin_kotlin.$_$.
|
|
122
|
+
var toString_0 = kotlin_kotlin.$_$.uh;
|
|
123
|
+
var Comparable = kotlin_kotlin.$_$.cg;
|
|
124
124
|
var listOfNotNull = kotlin_kotlin.$_$.i8;
|
|
125
125
|
var joinToString = kotlin_kotlin.$_$.z7;
|
|
126
126
|
var get_amountOfCards = kotlin_io_raspberryapps_game_engine_core.$_$.d;
|
|
127
127
|
var Player = kotlin_io_raspberryapps_game_engine_core.$_$.j;
|
|
128
128
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.p1;
|
|
129
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
130
|
-
var single = kotlin_kotlin.$_$.
|
|
129
|
+
var objectCreate = kotlin_kotlin.$_$.pc;
|
|
130
|
+
var single = kotlin_kotlin.$_$.d9;
|
|
131
131
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.u;
|
|
132
132
|
var mapCapacity = kotlin_kotlin.$_$.l8;
|
|
133
133
|
var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.t;
|
|
134
|
-
var toMutableMap = kotlin_kotlin.$_$.
|
|
134
|
+
var toMutableMap = kotlin_kotlin.$_$.s9;
|
|
135
135
|
var UnsupportedOperationException_init_$Create$ = kotlin_kotlin.$_$.g2;
|
|
136
|
-
var toSet = kotlin_kotlin.$_$.
|
|
137
|
-
var sorted = kotlin_kotlin.$_$.
|
|
136
|
+
var toSet = kotlin_kotlin.$_$.u9;
|
|
137
|
+
var sorted = kotlin_kotlin.$_$.g9;
|
|
138
138
|
var createAnnotatedEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g2;
|
|
139
139
|
var last = kotlin_kotlin.$_$.f8;
|
|
140
|
-
var sum = kotlin_kotlin.$_$.
|
|
140
|
+
var sum = kotlin_kotlin.$_$.h9;
|
|
141
141
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.t1;
|
|
142
142
|
var first = kotlin_kotlin.$_$.o7;
|
|
143
143
|
var first_0 = kotlin_kotlin.$_$.q7;
|
|
144
144
|
var contains = kotlin_kotlin.$_$.n6;
|
|
145
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
145
|
+
var initMetadataForObject = kotlin_kotlin.$_$.ub;
|
|
146
146
|
var checkIndexOverflow = kotlin_kotlin.$_$.l6;
|
|
147
147
|
var getPoint = kotlin_io_raspberryapps_game_engine_core.$_$.e1;
|
|
148
148
|
var Toggles_instance = kotlin_io_raspberryapps_game_engine_core.$_$.z4;
|
|
@@ -150,20 +150,20 @@
|
|
|
150
150
|
var MechanicException = kotlin_io_raspberryapps_game_engine_core.$_$.b;
|
|
151
151
|
var asJsReadonlyArrayView = kotlin_kotlin.$_$.q5;
|
|
152
152
|
var KtList = kotlin_kotlin.$_$.r5;
|
|
153
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
153
|
+
var ensureNotNull = kotlin_kotlin.$_$.hh;
|
|
154
154
|
var GameCard = kotlin_io_raspberryapps_cardgame_core.$_$.q;
|
|
155
155
|
var firstOrNull = kotlin_kotlin.$_$.l7;
|
|
156
156
|
var Companion_instance = kotlin_io_raspberryapps_cardgame_core.$_$.n;
|
|
157
157
|
var flatten = kotlin_kotlin.$_$.r7;
|
|
158
|
-
var to = kotlin_kotlin.$_$.
|
|
158
|
+
var to = kotlin_kotlin.$_$.vh;
|
|
159
159
|
var mapOf = kotlin_kotlin.$_$.m8;
|
|
160
160
|
var asSequence = kotlin_kotlin.$_$.g6;
|
|
161
|
-
var filter = kotlin_kotlin.$_$.
|
|
162
|
-
var map = kotlin_kotlin.$_$.
|
|
163
|
-
var firstOrNull_0 = kotlin_kotlin.$_$.
|
|
161
|
+
var filter = kotlin_kotlin.$_$.od;
|
|
162
|
+
var map = kotlin_kotlin.$_$.sd;
|
|
163
|
+
var firstOrNull_0 = kotlin_kotlin.$_$.pd;
|
|
164
164
|
var CardIndexComparator_instance = kotlin_io_raspberryapps_cardgame_core.$_$.l;
|
|
165
165
|
var lastOrNull = kotlin_kotlin.$_$.e8;
|
|
166
|
-
var toMap = kotlin_kotlin.$_$.
|
|
166
|
+
var toMap = kotlin_kotlin.$_$.q9;
|
|
167
167
|
var PlayerIdOrderComparator = kotlin_io_raspberryapps_game_engine_core.$_$.g;
|
|
168
168
|
var getValue = kotlin_kotlin.$_$.u7;
|
|
169
169
|
var PlayerIdContractOrderComparator = kotlin_io_raspberryapps_game_engine_core.$_$.e;
|
|
@@ -201,16 +201,16 @@
|
|
|
201
201
|
var Companion_getInstance_3 = kotlin_kotlin.$_$.a5;
|
|
202
202
|
var getOrNull = kotlin_kotlin.$_$.t7;
|
|
203
203
|
var _Duration___get_inWholeMilliseconds__impl__msfiry = kotlin_kotlin.$_$.k2;
|
|
204
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
204
|
+
var coerceAtLeast = kotlin_kotlin.$_$.ad;
|
|
205
205
|
var Companion_getInstance_4 = kotlin_kotlin.$_$.z4;
|
|
206
206
|
var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.g;
|
|
207
|
-
var toDuration = kotlin_kotlin.$_$.
|
|
208
|
-
var toIntOrNull = kotlin_kotlin.$_$.
|
|
207
|
+
var toDuration = kotlin_kotlin.$_$.xf;
|
|
208
|
+
var toIntOrNull = kotlin_kotlin.$_$.hf;
|
|
209
209
|
var RulesDto = kotlin_io_raspberryapps_game_engine_core.$_$.b1;
|
|
210
210
|
var Companion_instance_0 = kotlin_io_raspberryapps_game_engine_core.$_$.n4;
|
|
211
211
|
var Companion_instance_1 = kotlin_io_raspberryapps_game_engine_core.$_$.l4;
|
|
212
212
|
var PlayerConnectionState_LIVE_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.r3;
|
|
213
|
-
var toDuration_0 = kotlin_kotlin.$_$.
|
|
213
|
+
var toDuration_0 = kotlin_kotlin.$_$.yf;
|
|
214
214
|
var PlayerConnectionState_LEFT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.q3;
|
|
215
215
|
var mapFromDto_2 = kotlin_io_raspberryapps_game_engine_core.$_$.t;
|
|
216
216
|
var mapToDto_2 = kotlin_io_raspberryapps_game_engine_core.$_$.y;
|
|
@@ -223,10 +223,10 @@
|
|
|
223
223
|
var $serializer_getInstance_1 = kotlin_io_raspberryapps_game_engine_core.$_$.r4;
|
|
224
224
|
var InstantSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s;
|
|
225
225
|
var PlayerState = kotlin_io_raspberryapps_game_engine_core.$_$.i;
|
|
226
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
226
|
+
var charSequenceLength = kotlin_kotlin.$_$.eb;
|
|
227
227
|
var LoggerPayload = kotlin_io_raspberryapps_cardgame_logger.$_$.e;
|
|
228
228
|
var CardGrowthComparator = kotlin_io_raspberryapps_game_engine_core.$_$.d1;
|
|
229
|
-
var take = kotlin_kotlin.$_$.
|
|
229
|
+
var take = kotlin_kotlin.$_$.j9;
|
|
230
230
|
var CardName_ACE_getInstance = kotlin_io_raspberryapps_cardgame_core.$_$.a;
|
|
231
231
|
var CardName_KING_getInstance = kotlin_io_raspberryapps_cardgame_core.$_$.d;
|
|
232
232
|
var CardName_QUEEN_getInstance = kotlin_io_raspberryapps_cardgame_core.$_$.f;
|
|
@@ -247,7 +247,7 @@
|
|
|
247
247
|
var ProcessingReasonDto_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.s4;
|
|
248
248
|
var filterByPlayerId = kotlin_io_raspberryapps_game_engine_core.$_$.m;
|
|
249
249
|
var CardNumberComparator_instance = kotlin_io_raspberryapps_cardgame_core.$_$.m;
|
|
250
|
-
var singleOrNull = kotlin_kotlin.$_$.
|
|
250
|
+
var singleOrNull = kotlin_kotlin.$_$.c9;
|
|
251
251
|
var addAll = kotlin_kotlin.$_$.a6;
|
|
252
252
|
var Module_init_$Create$ = kotlin_org_kodein_di_kodein_di.$_$.a;
|
|
253
253
|
var Json_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.c;
|
|
@@ -261,51 +261,49 @@
|
|
|
261
261
|
var CombinationsCheckerProvider = kotlin_io_raspberryapps_cardgame_core.$_$.y;
|
|
262
262
|
var CombinationsCheckerProviderImpl = kotlin_io_raspberryapps_cardgame_core.$_$.x;
|
|
263
263
|
var MutableSharedFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.t;
|
|
264
|
-
var toList_0 = kotlin_kotlin.$_$.
|
|
265
|
-
var plus_0 = kotlin_kotlin.$_$.
|
|
264
|
+
var toList_0 = kotlin_kotlin.$_$.n9;
|
|
265
|
+
var plus_0 = kotlin_kotlin.$_$.u8;
|
|
266
266
|
var listOfNotNull_0 = kotlin_kotlin.$_$.h8;
|
|
267
267
|
var LinkedHashSet_init_$Create$ = kotlin_kotlin.$_$.w;
|
|
268
|
-
var toMutableSet = kotlin_kotlin.$_$.
|
|
268
|
+
var toMutableSet = kotlin_kotlin.$_$.t9;
|
|
269
269
|
var filterByCardName = kotlin_io_raspberryapps_cardgame_core.$_$.u;
|
|
270
270
|
var first_1 = kotlin_kotlin.$_$.p7;
|
|
271
|
-
var setOf = kotlin_kotlin.$_$.
|
|
272
|
-
var setOf_0 = kotlin_kotlin.$_$.
|
|
271
|
+
var setOf = kotlin_kotlin.$_$.a9;
|
|
272
|
+
var setOf_0 = kotlin_kotlin.$_$.b9;
|
|
273
273
|
var NoSuchElementException_init_$Create$_0 = kotlin_kotlin.$_$.y1;
|
|
274
|
-
var compareTo = kotlin_kotlin.$_$.
|
|
274
|
+
var compareTo = kotlin_kotlin.$_$.gb;
|
|
275
275
|
var distributeCardsBottom = kotlin_io_raspberryapps_cardgame_core.$_$.s;
|
|
276
276
|
var distributeCardsTop = kotlin_io_raspberryapps_cardgame_core.$_$.t;
|
|
277
|
-
var toMutableList = kotlin_kotlin.$_$.
|
|
277
|
+
var toMutableList = kotlin_kotlin.$_$.r9;
|
|
278
278
|
var CardsRandomProvider_RANDOM_ORG_SIGNED_getInstance = kotlin_io_raspberryapps_cardgame_core.$_$.j;
|
|
279
279
|
var CardsRandomProvider_RANDOM_ORG_getInstance = kotlin_io_raspberryapps_cardgame_core.$_$.k;
|
|
280
280
|
var CardsRandomProvider_CUSTOM_getInstance = kotlin_io_raspberryapps_cardgame_core.$_$.i;
|
|
281
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
281
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.rb;
|
|
282
282
|
var get_indices = kotlin_kotlin.$_$.y7;
|
|
283
|
-
var abs = kotlin_kotlin.$_$.
|
|
284
|
-
var zip = kotlin_kotlin.$_$.
|
|
283
|
+
var abs = kotlin_kotlin.$_$.vc;
|
|
284
|
+
var zip = kotlin_kotlin.$_$.x9;
|
|
285
285
|
var Team = kotlin_io_raspberryapps_game_engine_core.$_$.k;
|
|
286
286
|
var getValueInHand = kotlin_io_raspberryapps_game_engine_core.$_$.f1;
|
|
287
287
|
var AgentType_BOT_NATIVE_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.l3;
|
|
288
|
-
var average = kotlin_kotlin.$_$.h6;
|
|
289
|
-
var minOrNull = kotlin_kotlin.$_$.p8;
|
|
290
|
-
var maxOrNull = kotlin_kotlin.$_$.o8;
|
|
291
|
-
var numberToInt = kotlin_kotlin.$_$.pc;
|
|
292
|
-
var coerceAtLeast_0 = kotlin_kotlin.$_$.bd;
|
|
293
288
|
var AgentType_BOT_REPLACEMENT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.m3;
|
|
289
|
+
var numberToInt = kotlin_kotlin.$_$.nc;
|
|
290
|
+
var coerceIn = kotlin_kotlin.$_$.dd;
|
|
291
|
+
var coerceAtLeast_0 = kotlin_kotlin.$_$.zc;
|
|
294
292
|
var checkCountOverflow = kotlin_kotlin.$_$.k6;
|
|
295
|
-
var
|
|
296
|
-
var
|
|
293
|
+
var roundToInt = kotlin_kotlin.$_$.wc;
|
|
294
|
+
var average = kotlin_kotlin.$_$.h6;
|
|
297
295
|
var mapToFinishReason = kotlin_io_raspberryapps_game_engine_core.$_$.q;
|
|
298
296
|
var StopTimerAction = kotlin_io_raspberryapps_game_engine_core.$_$.z1;
|
|
299
297
|
var TimerType_DELAY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.d4;
|
|
300
298
|
var StartTimerAction = kotlin_io_raspberryapps_game_engine_core.$_$.y1;
|
|
301
299
|
var PlayerConnectionState_DISCONNECTING_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.p3;
|
|
302
|
-
var toLong = kotlin_kotlin.$_$.
|
|
300
|
+
var toLong = kotlin_kotlin.$_$.sc;
|
|
303
301
|
var PlayerReturnsReason = kotlin_io_raspberryapps_game_engine_core.$_$.k1;
|
|
304
302
|
var nextToPlayerId = kotlin_io_raspberryapps_game_engine_core.$_$.r;
|
|
305
303
|
var previousPlayerId = kotlin_io_raspberryapps_game_engine_core.$_$.s;
|
|
306
304
|
var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_core.$_$.v4;
|
|
307
|
-
var contains_0 = kotlin_kotlin.$_$.
|
|
308
|
-
var split = kotlin_kotlin.$_$.
|
|
305
|
+
var contains_0 = kotlin_kotlin.$_$.vd;
|
|
306
|
+
var split = kotlin_kotlin.$_$.we;
|
|
309
307
|
var UserInfoData = kotlin_io_raspberryapps_cardgame_random.$_$.c;
|
|
310
308
|
var CardDeckRequestUserData = kotlin_io_raspberryapps_cardgame_random.$_$.a;
|
|
311
309
|
var get_actionTag = kotlin_io_raspberryapps_game_engine_core.$_$.f2;
|
|
@@ -334,7 +332,7 @@
|
|
|
334
332
|
var Middleware = kotlin_io_raspberryapps_game_engine_core.$_$.h2;
|
|
335
333
|
var middleware = kotlin_io_raspberryapps_game_engine_core.$_$.l2;
|
|
336
334
|
var filterPlayerTurn = kotlin_io_raspberryapps_game_engine_core.$_$.n;
|
|
337
|
-
var Result = kotlin_kotlin.$_$.
|
|
335
|
+
var Result = kotlin_kotlin.$_$.og;
|
|
338
336
|
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.r;
|
|
339
337
|
var LoggerOutputDataDto = kotlin_io_raspberryapps_game_engine_core.$_$.q2;
|
|
340
338
|
var Reason_FINISHED_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.b4;
|
|
@@ -352,16 +350,16 @@
|
|
|
352
350
|
var ArrayDeque_init_$Create$ = kotlin_kotlin.$_$.j;
|
|
353
351
|
var Reducer = kotlin_io_raspberryapps_game_engine_core.$_$.i2;
|
|
354
352
|
var TimerAction = kotlin_io_raspberryapps_game_engine_core.$_$.a2;
|
|
355
|
-
var minus = kotlin_kotlin.$_$.
|
|
353
|
+
var minus = kotlin_kotlin.$_$.o8;
|
|
356
354
|
var updateOrAddItems = kotlin_io_raspberryapps_game_engine_core.$_$.d3;
|
|
357
355
|
var get_byIdPlayerPredicate = kotlin_io_raspberryapps_game_engine_core.$_$.l;
|
|
358
356
|
var updateItem = kotlin_io_raspberryapps_game_engine_core.$_$.b3;
|
|
359
|
-
var toDuration_1 = kotlin_kotlin.$_$.
|
|
357
|
+
var toDuration_1 = kotlin_kotlin.$_$.wf;
|
|
360
358
|
var updated = kotlin_io_raspberryapps_game_engine_core.$_$.e3;
|
|
361
359
|
var PlayerWaitingState_IN_PROGRESS_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.u3;
|
|
362
360
|
var getProgress = kotlin_io_raspberryapps_game_engine_core.$_$.p;
|
|
363
|
-
var takeLast = kotlin_kotlin.$_$.
|
|
364
|
-
var plus_1 = kotlin_kotlin.$_$.
|
|
361
|
+
var takeLast = kotlin_kotlin.$_$.i9;
|
|
362
|
+
var plus_1 = kotlin_kotlin.$_$.q8;
|
|
365
363
|
var updateLastItem = kotlin_io_raspberryapps_game_engine_core.$_$.c3;
|
|
366
364
|
var d = kotlin_io_raspberryapps_cardgame_logger.$_$.h;
|
|
367
365
|
var e = kotlin_io_raspberryapps_cardgame_logger.$_$.i;
|
|
@@ -374,18 +372,18 @@
|
|
|
374
372
|
var get_atomicfu$reentrantLock = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.a;
|
|
375
373
|
var LogType_DEBUG_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.e4;
|
|
376
374
|
var LogType_ERROR_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.f4;
|
|
377
|
-
var stackTraceToString = kotlin_kotlin.$_$.
|
|
378
|
-
var take_0 = kotlin_kotlin.$_$.
|
|
375
|
+
var stackTraceToString = kotlin_kotlin.$_$.rh;
|
|
376
|
+
var take_0 = kotlin_kotlin.$_$.df;
|
|
379
377
|
var LogType_INFO_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.g4;
|
|
380
378
|
var LogType_VERBOSE_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.h4;
|
|
381
379
|
var LogType_WARN_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.i4;
|
|
382
380
|
var get_entries = kotlin_io_raspberryapps_game_engine_core.$_$.p2;
|
|
383
381
|
var LoggerEnabledTrigger = kotlin_io_raspberryapps_cardgame_logger.$_$.d;
|
|
384
|
-
var isArray = kotlin_kotlin.$_$.
|
|
382
|
+
var isArray = kotlin_kotlin.$_$.vb;
|
|
385
383
|
var mapOfObject = kotlin_io_raspberryapps_game_engine_core.$_$.t2;
|
|
386
384
|
var GameUserInfo = kotlin_io_raspberryapps_game_engine_core.$_$.c;
|
|
387
385
|
var generateMsg = kotlin_io_raspberryapps_cardgame_logger.$_$.b;
|
|
388
|
-
var mutableListOf = kotlin_kotlin.$_$.
|
|
386
|
+
var mutableListOf = kotlin_kotlin.$_$.p8;
|
|
389
387
|
var CombinedRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.c;
|
|
390
388
|
var PlatformRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.f;
|
|
391
389
|
var Companion_instance_3 = kotlin_org_kodein_di_kodein_di.$_$.b;
|
|
@@ -42513,8 +42511,8 @@
|
|
|
42513
42511
|
}
|
|
42514
42512
|
var opp = tmp$ret$7;
|
|
42515
42513
|
var expected = expectedOneOnOne($this, item.p7a_1, opp.p7a_1, 400.0);
|
|
42516
|
-
var actualBin =
|
|
42517
|
-
var kEff =
|
|
42514
|
+
var actualBin = item.q7a_1 >= realMaxScore ? 1.0 : 0.0;
|
|
42515
|
+
var kEff = baseK($this, item.t7a_1, gameComplexityCoefficient);
|
|
42518
42516
|
var newRating = eloBinaryWithScoreFactor($this, item.p7a_1, expected, actualBin, realMinScore, realMaxScore, item.q7a_1, minUserRating, maxUserRating, limitByMaxRating, kEff);
|
|
42519
42517
|
tmp$ret$5 = new PlayerRatingOutput(item.o7a_1, item.p7a_1, newRating, item.r7a_1);
|
|
42520
42518
|
}
|
|
@@ -42522,22 +42520,26 @@
|
|
|
42522
42520
|
}
|
|
42523
42521
|
return destination;
|
|
42524
42522
|
}
|
|
42525
|
-
function
|
|
42523
|
+
function calculateFfaPairwise($this, maxScore, ratingList, minUserRating, maxUserRating, limitByMaxRating, gameComplexityCoefficient) {
|
|
42526
42524
|
// Inline function 'kotlin.require' call
|
|
42527
42525
|
if (!(ratingList.m() >= 2)) {
|
|
42528
42526
|
var message = 'At least two players are required';
|
|
42529
42527
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
42530
42528
|
}
|
|
42529
|
+
var n = ratingList.m();
|
|
42530
|
+
// Inline function 'kotlin.math.max' call
|
|
42531
|
+
var b = n - 2 | 0;
|
|
42532
|
+
var extra = Math.max(0, b);
|
|
42531
42533
|
// Inline function 'kotlin.collections.map' call
|
|
42532
42534
|
// Inline function 'kotlin.collections.mapTo' call
|
|
42533
42535
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(ratingList, 10));
|
|
42534
42536
|
var _iterator__ex2g4s = ratingList.j();
|
|
42535
42537
|
while (_iterator__ex2g4s.k()) {
|
|
42536
42538
|
var item = _iterator__ex2g4s.l();
|
|
42537
|
-
var tmp$ret$
|
|
42539
|
+
var tmp$ret$3;
|
|
42538
42540
|
$l$block: {
|
|
42539
42541
|
if (item.s7a_1.equals(AgentType_BOT_NATIVE_getInstance()) && false) {
|
|
42540
|
-
tmp$ret$
|
|
42542
|
+
tmp$ret$3 = frozenOutput($this, item);
|
|
42541
42543
|
break $l$block;
|
|
42542
42544
|
}
|
|
42543
42545
|
// Inline function 'kotlin.collections.filter' call
|
|
@@ -42551,45 +42553,59 @@
|
|
|
42551
42553
|
}
|
|
42552
42554
|
}
|
|
42553
42555
|
var others = destination_0;
|
|
42554
|
-
// Inline function 'kotlin.collections.
|
|
42555
|
-
|
|
42556
|
-
var destination_1 = ArrayList_init_$Create$(collectionSizeOrDefault(others, 10));
|
|
42556
|
+
// Inline function 'kotlin.collections.sumOf' call
|
|
42557
|
+
var sum = 0;
|
|
42557
42558
|
var _iterator__ex2g4s_1 = others.j();
|
|
42558
42559
|
while (_iterator__ex2g4s_1.k()) {
|
|
42559
|
-
var
|
|
42560
|
-
var tmp
|
|
42561
|
-
|
|
42560
|
+
var element_0 = _iterator__ex2g4s_1.l();
|
|
42561
|
+
var tmp = sum;
|
|
42562
|
+
sum = tmp + pBeats($this, item.p7a_1, element_0.p7a_1, 700.0);
|
|
42562
42563
|
}
|
|
42563
|
-
var
|
|
42564
|
-
|
|
42565
|
-
// Inline function 'kotlin.collections.
|
|
42566
|
-
var
|
|
42564
|
+
var expectedSum = sum;
|
|
42565
|
+
var tmp_0;
|
|
42566
|
+
// Inline function 'kotlin.collections.sumOf' call
|
|
42567
|
+
var sum_0 = 0;
|
|
42567
42568
|
var _iterator__ex2g4s_2 = others.j();
|
|
42568
42569
|
while (_iterator__ex2g4s_2.k()) {
|
|
42569
|
-
var
|
|
42570
|
-
var
|
|
42571
|
-
|
|
42572
|
-
}
|
|
42573
|
-
|
|
42574
|
-
|
|
42575
|
-
|
|
42576
|
-
|
|
42577
|
-
|
|
42578
|
-
|
|
42570
|
+
var element_1 = _iterator__ex2g4s_2.l();
|
|
42571
|
+
var tmp_1 = sum_0;
|
|
42572
|
+
sum_0 = tmp_1 + pairActualHybrid($this, item.q7a_1, element_1.q7a_1, maxScore);
|
|
42573
|
+
}
|
|
42574
|
+
tmp_0 = sum_0;
|
|
42575
|
+
var actualSum = tmp_0;
|
|
42576
|
+
if (true && item.s7a_1.equals(AgentType_BOT_REPLACEMENT_getInstance())) {
|
|
42577
|
+
actualSum = 0.0;
|
|
42578
|
+
}
|
|
42579
|
+
var diff = actualSum - expectedSum;
|
|
42580
|
+
var diffPos = diff > 0.0 ? diff : 0.0;
|
|
42581
|
+
var diffNeg = diff < 0.0 ? diff / (n - 1 | 0) : 0.0;
|
|
42582
|
+
if (diffNeg < 0.0 && item.q7a_1 >= numberToInt(0.75 * maxScore)) {
|
|
42583
|
+
diffNeg = diffNeg * 0.6;
|
|
42584
|
+
}
|
|
42585
|
+
var kBase = baseK($this, item.t7a_1, gameComplexityCoefficient);
|
|
42586
|
+
var kWin = 1.0 + 0.25 * extra;
|
|
42587
|
+
// Inline function 'kotlin.math.max' call
|
|
42588
|
+
var b_0 = 1.0 - 0.1 * extra;
|
|
42589
|
+
var kLoss = Math.max(0.6, b_0);
|
|
42590
|
+
var raw = item.p7a_1 + kBase * (kWin * diffPos + kLoss * diffNeg);
|
|
42591
|
+
var newRating = clampAndRound($this, raw, minUserRating, maxUserRating, limitByMaxRating);
|
|
42592
|
+
tmp$ret$3 = new PlayerRatingOutput(item.o7a_1, item.p7a_1, newRating, item.r7a_1);
|
|
42579
42593
|
}
|
|
42580
|
-
destination.e(tmp$ret$
|
|
42594
|
+
destination.e(tmp$ret$3);
|
|
42581
42595
|
}
|
|
42582
42596
|
return destination;
|
|
42583
42597
|
}
|
|
42598
|
+
function pairActualHybrid($this, myPoints, oppPoints, maxScore) {
|
|
42599
|
+
var rel = coerceIn((myPoints - oppPoints | 0) / maxScore, -1.0, 1.0);
|
|
42600
|
+
var abs = myPoints / maxScore - 0.9;
|
|
42601
|
+
var s = 0.5 + 0.28 * rel + 0.12 * abs;
|
|
42602
|
+
return coerceIn(s, 0.0, 1.0);
|
|
42603
|
+
}
|
|
42584
42604
|
function eloBinaryWithScoreFactor($this, currentRating, expected, actual, minScore, maxScore, playerScore, minUserRating, maxUserRating, limitByMaxRating, kFactor) {
|
|
42585
42605
|
var scoreFactor = scoreDifferenceFactor($this, actual, minScore, maxScore, playerScore);
|
|
42586
42606
|
var raw = currentRating + kFactor * scoreFactor * (actual - expected);
|
|
42587
42607
|
return clampAndRound($this, raw, minUserRating, maxUserRating, limitByMaxRating);
|
|
42588
42608
|
}
|
|
42589
|
-
function eloContinuous($this, currentRating, expected, actual, minUserRating, maxUserRating, limitByMaxRating, kTotal) {
|
|
42590
|
-
var raw = currentRating + kTotal * (actual - expected);
|
|
42591
|
-
return clampAndRound($this, raw, minUserRating, maxUserRating, limitByMaxRating);
|
|
42592
|
-
}
|
|
42593
42609
|
function pBeats($this, rA, rB, scale) {
|
|
42594
42610
|
// Inline function 'kotlin.math.pow' call
|
|
42595
42611
|
var x = (rB - rA) / scale;
|
|
@@ -42598,44 +42614,6 @@
|
|
|
42598
42614
|
function expectedOneOnOne($this, current, opponent, scale) {
|
|
42599
42615
|
return pBeats($this, current, opponent, scale);
|
|
42600
42616
|
}
|
|
42601
|
-
function expectedVsField($this, myRating, oppRatings, scale) {
|
|
42602
|
-
var tmp;
|
|
42603
|
-
if (oppRatings.p()) {
|
|
42604
|
-
tmp = 0.5;
|
|
42605
|
-
} else {
|
|
42606
|
-
// Inline function 'kotlin.collections.map' call
|
|
42607
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
42608
|
-
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(oppRatings, 10));
|
|
42609
|
-
var _iterator__ex2g4s = oppRatings.j();
|
|
42610
|
-
while (_iterator__ex2g4s.k()) {
|
|
42611
|
-
var item = _iterator__ex2g4s.l();
|
|
42612
|
-
var tmp$ret$0 = pBeats($this, myRating, item, scale);
|
|
42613
|
-
destination.e(tmp$ret$0);
|
|
42614
|
-
}
|
|
42615
|
-
tmp = average(destination);
|
|
42616
|
-
}
|
|
42617
|
-
return tmp;
|
|
42618
|
-
}
|
|
42619
|
-
function actualVsField($this, meScore, othersScores, placementWeight) {
|
|
42620
|
-
if (othersScores.p())
|
|
42621
|
-
return 0.5;
|
|
42622
|
-
// Inline function 'kotlin.collections.map' call
|
|
42623
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
42624
|
-
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(othersScores, 10));
|
|
42625
|
-
var _iterator__ex2g4s = othersScores.j();
|
|
42626
|
-
while (_iterator__ex2g4s.k()) {
|
|
42627
|
-
var item = _iterator__ex2g4s.l();
|
|
42628
|
-
var tmp$ret$0 = meScore > item ? 1.0 : meScore < item ? 0.0 : 0.5;
|
|
42629
|
-
destination.e(tmp$ret$0);
|
|
42630
|
-
}
|
|
42631
|
-
var placement = average(destination);
|
|
42632
|
-
var tmp0_elvis_lhs = minOrNull(othersScores);
|
|
42633
|
-
var minS = tmp0_elvis_lhs == null ? meScore : tmp0_elvis_lhs;
|
|
42634
|
-
var tmp1_elvis_lhs = maxOrNull(othersScores);
|
|
42635
|
-
var maxS = tmp1_elvis_lhs == null ? meScore : tmp1_elvis_lhs;
|
|
42636
|
-
var pointsShare = maxS === minS ? placement : coerceAtLeast(meScore - minS | 0, 0) / (maxS - minS | 0);
|
|
42637
|
-
return placementWeight * placement + (1 - placementWeight) * pointsShare;
|
|
42638
|
-
}
|
|
42639
42617
|
function scoreDifferenceFactor($this, actual, minScore, maxScore, playerScore) {
|
|
42640
42618
|
if (actual === 1.0)
|
|
42641
42619
|
return 1.0;
|
|
@@ -42646,18 +42624,12 @@
|
|
|
42646
42624
|
var proportion = (maxScore - playerScore) / denom;
|
|
42647
42625
|
return 0.5 * (1 + proportion);
|
|
42648
42626
|
}
|
|
42649
|
-
function
|
|
42650
|
-
return
|
|
42627
|
+
function baseK($this, playedGamesCount, gameComplexityCoefficient) {
|
|
42628
|
+
return 30 * kByExperience($this, playedGamesCount) * gameComplexityCoefficient;
|
|
42651
42629
|
}
|
|
42652
42630
|
function kByExperience($this, playedGames) {
|
|
42653
42631
|
return playedGames < 10 ? 1.5 : playedGames < 30 ? 1.2 : 1.0;
|
|
42654
42632
|
}
|
|
42655
|
-
function effectiveK($this, baseK, nCompetitors, playedGamesCount, gameComplexityCoefficient) {
|
|
42656
|
-
return baseK * kByPlayers($this, nCompetitors) * kByExperience($this, playedGamesCount) * gameComplexityCoefficient;
|
|
42657
|
-
}
|
|
42658
|
-
function shouldForceDecrease($this, p) {
|
|
42659
|
-
return true && p.s7a_1.equals(AgentType_BOT_REPLACEMENT_getInstance());
|
|
42660
|
-
}
|
|
42661
42633
|
function frozenOutput($this, p) {
|
|
42662
42634
|
return new PlayerRatingOutput(p.o7a_1, p.p7a_1, p.p7a_1, p.r7a_1);
|
|
42663
42635
|
}
|
|
@@ -42765,7 +42737,7 @@
|
|
|
42765
42737
|
if (ratingList.m() <= 2) {
|
|
42766
42738
|
tmp = calculateHeadToHead(this, ratingList, minUserRating, maxUserRating, limitByMaxRating, gameComplexityCoefficient);
|
|
42767
42739
|
} else {
|
|
42768
|
-
tmp =
|
|
42740
|
+
tmp = calculateFfaPairwise(this, maxScore, ratingList, minUserRating, maxUserRating, limitByMaxRating, gameComplexityCoefficient);
|
|
42769
42741
|
}
|
|
42770
42742
|
return tmp;
|
|
42771
42743
|
};
|
|
@@ -42851,8 +42823,8 @@
|
|
|
42851
42823
|
break $l$block;
|
|
42852
42824
|
}
|
|
42853
42825
|
var expected = expectedOneOnOne(this, item_1.p7a_1, avgLosers, 400.0);
|
|
42854
|
-
var actualBin =
|
|
42855
|
-
var kEff =
|
|
42826
|
+
var actualBin = 1.0;
|
|
42827
|
+
var kEff = baseK(this, item_1.t7a_1, gameComplexityCoefficient);
|
|
42856
42828
|
var newRating = eloBinaryWithScoreFactor(this, item_1.p7a_1, expected, actualBin, realMinScore, realMaxScore, winnersScore, minUserRating, maxUserRating, limitByMaxRating, kEff);
|
|
42857
42829
|
tmp$ret$18 = new PlayerRatingOutput(item_1.o7a_1, item_1.p7a_1, newRating, item_1.r7a_1);
|
|
42858
42830
|
}
|
|
@@ -42873,7 +42845,7 @@
|
|
|
42873
42845
|
}
|
|
42874
42846
|
var expected_0 = expectedOneOnOne(this, item_2.p7a_1, avgWinners, 400.0);
|
|
42875
42847
|
var actualBin_0 = 0.0;
|
|
42876
|
-
var kEff_0 =
|
|
42848
|
+
var kEff_0 = baseK(this, item_2.t7a_1, gameComplexityCoefficient);
|
|
42877
42849
|
var newRating_0 = eloBinaryWithScoreFactor(this, item_2.p7a_1, expected_0, actualBin_0, realMinScore, realMaxScore, losersScore, minUserRating, maxUserRating, limitByMaxRating, kEff_0);
|
|
42878
42850
|
tmp$ret$21 = new PlayerRatingOutput(item_2.o7a_1, item_2.p7a_1, newRating_0, item_2.r7a_1);
|
|
42879
42851
|
}
|