raspberry_games_server_game_logic 1.8.331 → 1.8.333
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/Kotlin-DateTime-library-kotlinx-datetime.js +1 -1
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +118 -110
- package/Logic_Debertz-engine.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +8 -8
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -377,7 +377,7 @@
|
|
|
377
377
|
return tmp;
|
|
378
378
|
}
|
|
379
379
|
initMetadataForInterface(AbstractWithOffsetBuilder, 'AbstractWithOffsetBuilder', VOID, VOID, [WithUtcOffset]);
|
|
380
|
-
initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithTime, WithUtcOffset
|
|
380
|
+
initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithDate, WithTime, WithUtcOffset]);
|
|
381
381
|
initMetadataForClass(AbstractDateTimeFormat, 'AbstractDateTimeFormat');
|
|
382
382
|
initMetadataForClass(DateTimeComponentsFormat, 'DateTimeComponentsFormat', VOID, AbstractDateTimeFormat);
|
|
383
383
|
initMetadataForClass(TwoDigitNumber, 'TwoDigitNumber');
|
package/Logic_Debertz-core.js
CHANGED
|
@@ -376,7 +376,7 @@
|
|
|
376
376
|
initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
|
|
377
377
|
//endregion
|
|
378
378
|
function GameEngineConfig() {
|
|
379
|
-
this.version = '1.8.
|
|
379
|
+
this.version = '1.8.333';
|
|
380
380
|
}
|
|
381
381
|
protoOf(GameEngineConfig).s2z = function () {
|
|
382
382
|
return this.version;
|
package/Logic_Debertz-engine.js
CHANGED
|
@@ -189,11 +189,11 @@
|
|
|
189
189
|
var $serializer_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.m4;
|
|
190
190
|
var mapToDto = kotlin_io_raspberryapps_game_engine_core.$_$.a1;
|
|
191
191
|
var mapFromDto = kotlin_io_raspberryapps_game_engine_core.$_$.u;
|
|
192
|
-
var toDomainEnumSafe = kotlin_io_raspberryapps_game_engine_core.$_$.z2;
|
|
193
192
|
var toDomainEnum = kotlin_io_raspberryapps_game_engine_core.$_$.a3;
|
|
194
193
|
var emptySet = kotlin_kotlin.$_$.q7;
|
|
195
194
|
var enumToStringSafe = kotlin_io_raspberryapps_game_engine_core.$_$.r2;
|
|
196
195
|
var enumToString = kotlin_io_raspberryapps_game_engine_core.$_$.s2;
|
|
196
|
+
var toDomainEnumSafe = kotlin_io_raspberryapps_game_engine_core.$_$.z2;
|
|
197
197
|
var mapOf_0 = kotlin_kotlin.$_$.u8;
|
|
198
198
|
var mapToDto_0 = kotlin_io_raspberryapps_game_engine_core.$_$.z;
|
|
199
199
|
var mapToDto_1 = kotlin_io_raspberryapps_game_engine_core.$_$.x;
|
|
@@ -14235,7 +14235,7 @@
|
|
|
14235
14235
|
var combinationReasonMappingLegacy;
|
|
14236
14236
|
function mapToCombinationType(_this__u8e3s4) {
|
|
14237
14237
|
_init_properties_CombinationsDtoMappers_kt__fk981j();
|
|
14238
|
-
var tmp0_elvis_lhs =
|
|
14238
|
+
var tmp0_elvis_lhs = get_combinationTypeMappingLegacy().k2(_this__u8e3s4);
|
|
14239
14239
|
return tmp0_elvis_lhs == null ? toDomainEnum(_this__u8e3s4, get_combinationTypeMapping()) : tmp0_elvis_lhs;
|
|
14240
14240
|
}
|
|
14241
14241
|
function mapToDto_7(_this__u8e3s4) {
|
|
@@ -55789,68 +55789,75 @@
|
|
|
55789
55789
|
return rules instanceof Rules ? rules : THROW_CCE();
|
|
55790
55790
|
}
|
|
55791
55791
|
var map = mapOfObject(rules);
|
|
55792
|
-
var
|
|
55793
|
-
var
|
|
55794
|
-
|
|
55795
|
-
|
|
55796
|
-
|
|
55797
|
-
|
|
55798
|
-
|
|
55799
|
-
|
|
55800
|
-
|
|
55801
|
-
|
|
55802
|
-
|
|
55803
|
-
|
|
55804
|
-
|
|
55805
|
-
|
|
55806
|
-
|
|
55807
|
-
|
|
55808
|
-
|
|
55809
|
-
|
|
55810
|
-
|
|
55811
|
-
|
|
55812
|
-
|
|
55813
|
-
var tmp6_elvis_lhs = (!(tmp_6 == null) ? typeof tmp_6 === 'number' : false) ? tmp_6 : null;
|
|
55814
|
-
var tmp40_dealerFinalCardsCount = tmp6_elvis_lhs == null ? 9 : tmp6_elvis_lhs;
|
|
55815
|
-
var tmp_7 = map.k2('contractTypes');
|
|
55816
|
-
var tmp7_safe_receiver = (!(tmp_7 == null) ? isArray(tmp_7) : false) ? tmp_7 : null;
|
|
55817
|
-
var tmp_8;
|
|
55818
|
-
if (tmp7_safe_receiver == null) {
|
|
55819
|
-
tmp_8 = null;
|
|
55820
|
-
} else {
|
|
55821
|
-
// Inline function 'kotlin.collections.map' call
|
|
55822
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
55823
|
-
var destination = ArrayList_init_$Create$(tmp7_safe_receiver.length);
|
|
55824
|
-
var inductionVariable = 0;
|
|
55825
|
-
var last = tmp7_safe_receiver.length;
|
|
55826
|
-
while (inductionVariable < last) {
|
|
55827
|
-
var item = tmp7_safe_receiver[inductionVariable];
|
|
55828
|
-
inductionVariable = inductionVariable + 1 | 0;
|
|
55829
|
-
// Inline function 'GameHelperImpl.mapRulesObject.<anonymous>' call
|
|
55830
|
-
var tmp$ret$0 = toRoundContractType(item);
|
|
55831
|
-
destination.e(tmp$ret$0);
|
|
55792
|
+
var combinationsJson = map.k2('combinationsWithFirstCard');
|
|
55793
|
+
var tmp;
|
|
55794
|
+
if (combinationsJson != undefined && combinationsJson != null) {
|
|
55795
|
+
var tmp0_safe_receiver = (!(combinationsJson == null) ? isArray(combinationsJson) : false) ? combinationsJson : null;
|
|
55796
|
+
var tmp_0;
|
|
55797
|
+
if (tmp0_safe_receiver == null) {
|
|
55798
|
+
tmp_0 = null;
|
|
55799
|
+
} else {
|
|
55800
|
+
// Inline function 'kotlin.collections.map' call
|
|
55801
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
55802
|
+
var destination = ArrayList_init_$Create$(tmp0_safe_receiver.length);
|
|
55803
|
+
var inductionVariable = 0;
|
|
55804
|
+
var last = tmp0_safe_receiver.length;
|
|
55805
|
+
while (inductionVariable < last) {
|
|
55806
|
+
var item = tmp0_safe_receiver[inductionVariable];
|
|
55807
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
55808
|
+
// Inline function 'GameHelperImpl.mapRulesObject.<anonymous>' call
|
|
55809
|
+
var tmp$ret$0 = mapToCombinationType(item);
|
|
55810
|
+
destination.e(tmp$ret$0);
|
|
55811
|
+
}
|
|
55812
|
+
tmp_0 = destination;
|
|
55832
55813
|
}
|
|
55833
|
-
|
|
55834
|
-
|
|
55835
|
-
|
|
55836
|
-
|
|
55837
|
-
|
|
55838
|
-
|
|
55814
|
+
var tmp1_safe_receiver = tmp_0;
|
|
55815
|
+
var tmp_1;
|
|
55816
|
+
if (tmp1_safe_receiver == null) {
|
|
55817
|
+
tmp_1 = null;
|
|
55818
|
+
} else {
|
|
55819
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
55820
|
+
tmp_1 = copyToArray(tmp1_safe_receiver);
|
|
55821
|
+
}
|
|
55822
|
+
var tmp2_elvis_lhs = tmp_1;
|
|
55823
|
+
var tmp_2;
|
|
55824
|
+
if (tmp2_elvis_lhs == null) {
|
|
55825
|
+
// Inline function 'kotlin.emptyArray' call
|
|
55826
|
+
tmp_2 = [];
|
|
55827
|
+
} else {
|
|
55828
|
+
tmp_2 = tmp2_elvis_lhs;
|
|
55829
|
+
}
|
|
55830
|
+
tmp = tmp_2;
|
|
55839
55831
|
} else {
|
|
55840
55832
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
55841
|
-
|
|
55842
|
-
|
|
55843
|
-
var tmp9_elvis_lhs = tmp_9;
|
|
55844
|
-
var tmp_10;
|
|
55845
|
-
if (tmp9_elvis_lhs == null) {
|
|
55846
|
-
// Inline function 'kotlin.collections.toTypedArray' call
|
|
55847
|
-
var this_0 = Companion_getInstance_24().debertzContractTypes;
|
|
55848
|
-
tmp_10 = copyToArray(this_0);
|
|
55849
|
-
} else {
|
|
55850
|
-
tmp_10 = tmp9_elvis_lhs;
|
|
55833
|
+
var this_0 = Companion_getInstance_153().debertzWithFirstCardCombinations;
|
|
55834
|
+
tmp = copyToArray(this_0);
|
|
55851
55835
|
}
|
|
55852
|
-
var
|
|
55853
|
-
var
|
|
55836
|
+
var combinationTypes = tmp;
|
|
55837
|
+
var tmp_3 = map.k2('name');
|
|
55838
|
+
var tmp33_name = (!(tmp_3 == null) ? typeof tmp_3 === 'string' : false) ? tmp_3 : null;
|
|
55839
|
+
var tmp_4 = map.k2('playerWhoChooseSuitGoFirst');
|
|
55840
|
+
var tmp3_elvis_lhs = (!(tmp_4 == null) ? typeof tmp_4 === 'boolean' : false) ? tmp_4 : null;
|
|
55841
|
+
var tmp34_playerWhoChooseSuitGoFirst = tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs;
|
|
55842
|
+
var tmp_5 = map.k2('winnerShuffleCards');
|
|
55843
|
+
var tmp4_elvis_lhs = (!(tmp_5 == null) ? typeof tmp_5 === 'boolean' : false) ? tmp_5 : null;
|
|
55844
|
+
var tmp35_winnerShuffleCards = tmp4_elvis_lhs == null ? false : tmp4_elvis_lhs;
|
|
55845
|
+
var tmp_6 = map.k2('playWithoutLiabilities');
|
|
55846
|
+
var tmp5_elvis_lhs = (!(tmp_6 == null) ? typeof tmp_6 === 'boolean' : false) ? tmp_6 : null;
|
|
55847
|
+
var tmp36_playWithoutLiabilities = tmp5_elvis_lhs == null ? false : tmp5_elvis_lhs;
|
|
55848
|
+
var tmp_7 = map.k2('trumpCardGoToPlayerWhoShuffleCards');
|
|
55849
|
+
var tmp6_elvis_lhs = (!(tmp_7 == null) ? typeof tmp_7 === 'boolean' : false) ? tmp_7 : null;
|
|
55850
|
+
var tmp37_trumpCardGoToPlayerWhoShuffleCards = tmp6_elvis_lhs == null ? false : tmp6_elvis_lhs;
|
|
55851
|
+
var tmp_8 = map.k2('dealerCounterClockwise');
|
|
55852
|
+
var tmp7_elvis_lhs = (!(tmp_8 == null) ? typeof tmp_8 === 'boolean' : false) ? tmp_8 : null;
|
|
55853
|
+
var tmp38_dealerCounterClockwise = tmp7_elvis_lhs == null ? false : tmp7_elvis_lhs;
|
|
55854
|
+
var tmp_9 = map.k2('dealerInitialCardsCount');
|
|
55855
|
+
var tmp8_elvis_lhs = (!(tmp_9 == null) ? typeof tmp_9 === 'number' : false) ? tmp_9 : null;
|
|
55856
|
+
var tmp39_dealerInitialCardsCount = tmp8_elvis_lhs == null ? 6 : tmp8_elvis_lhs;
|
|
55857
|
+
var tmp_10 = map.k2('dealerFinalCardsCount');
|
|
55858
|
+
var tmp9_elvis_lhs = (!(tmp_10 == null) ? typeof tmp_10 === 'number' : false) ? tmp_10 : null;
|
|
55859
|
+
var tmp40_dealerFinalCardsCount = tmp9_elvis_lhs == null ? 9 : tmp9_elvis_lhs;
|
|
55860
|
+
var tmp_11 = map.k2('contractTypes');
|
|
55854
55861
|
var tmp10_safe_receiver = (!(tmp_11 == null) ? isArray(tmp_11) : false) ? tmp_11 : null;
|
|
55855
55862
|
var tmp_12;
|
|
55856
55863
|
if (tmp10_safe_receiver == null) {
|
|
@@ -55865,8 +55872,8 @@
|
|
|
55865
55872
|
var item_0 = tmp10_safe_receiver[inductionVariable_0];
|
|
55866
55873
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
55867
55874
|
// Inline function 'GameHelperImpl.mapRulesObject.<anonymous>' call
|
|
55868
|
-
var tmp$ret$
|
|
55869
|
-
destination_0.e(tmp$ret$
|
|
55875
|
+
var tmp$ret$6 = toRoundContractType(item_0);
|
|
55876
|
+
destination_0.e(tmp$ret$6);
|
|
55870
55877
|
}
|
|
55871
55878
|
tmp_12 = destination_0;
|
|
55872
55879
|
}
|
|
@@ -55881,80 +55888,81 @@
|
|
|
55881
55888
|
var tmp12_elvis_lhs = tmp_13;
|
|
55882
55889
|
var tmp_14;
|
|
55883
55890
|
if (tmp12_elvis_lhs == null) {
|
|
55884
|
-
// Inline function 'kotlin.
|
|
55885
|
-
|
|
55891
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
55892
|
+
var this_1 = Companion_getInstance_24().debertzContractTypes;
|
|
55893
|
+
tmp_14 = copyToArray(this_1);
|
|
55886
55894
|
} else {
|
|
55887
55895
|
tmp_14 = tmp12_elvis_lhs;
|
|
55888
55896
|
}
|
|
55889
|
-
var
|
|
55890
|
-
var tmp_15 = map.k2('
|
|
55891
|
-
var
|
|
55892
|
-
var
|
|
55893
|
-
|
|
55894
|
-
|
|
55895
|
-
var tmp15_elvis_lhs = tmp14_safe_receiver == null ? null : toTrumpCardStepPartnerMode(tmp14_safe_receiver);
|
|
55896
|
-
var tmp44_trumpCardStepPartnerMode = tmp15_elvis_lhs == null ? TrumpCardStepPartnerMode_ANY_TRUMP_CARD_getInstance() : tmp15_elvis_lhs;
|
|
55897
|
-
var tmp_17 = map.k2('combinationsWithFirstCard');
|
|
55898
|
-
var tmp16_safe_receiver = (!(tmp_17 == null) ? isArray(tmp_17) : false) ? tmp_17 : null;
|
|
55899
|
-
var tmp_18;
|
|
55900
|
-
if (tmp16_safe_receiver == null) {
|
|
55901
|
-
tmp_18 = null;
|
|
55897
|
+
var tmp41_contractTypes = tmp_14;
|
|
55898
|
+
var tmp_15 = map.k2('bidTypes');
|
|
55899
|
+
var tmp13_safe_receiver = (!(tmp_15 == null) ? isArray(tmp_15) : false) ? tmp_15 : null;
|
|
55900
|
+
var tmp_16;
|
|
55901
|
+
if (tmp13_safe_receiver == null) {
|
|
55902
|
+
tmp_16 = null;
|
|
55902
55903
|
} else {
|
|
55903
55904
|
// Inline function 'kotlin.collections.map' call
|
|
55904
55905
|
// Inline function 'kotlin.collections.mapTo' call
|
|
55905
|
-
var destination_1 = ArrayList_init_$Create$(
|
|
55906
|
+
var destination_1 = ArrayList_init_$Create$(tmp13_safe_receiver.length);
|
|
55906
55907
|
var inductionVariable_1 = 0;
|
|
55907
|
-
var last_1 =
|
|
55908
|
+
var last_1 = tmp13_safe_receiver.length;
|
|
55908
55909
|
while (inductionVariable_1 < last_1) {
|
|
55909
|
-
var item_1 =
|
|
55910
|
+
var item_1 = tmp13_safe_receiver[inductionVariable_1];
|
|
55910
55911
|
inductionVariable_1 = inductionVariable_1 + 1 | 0;
|
|
55911
55912
|
// Inline function 'GameHelperImpl.mapRulesObject.<anonymous>' call
|
|
55912
|
-
var tmp$ret$
|
|
55913
|
-
destination_1.e(tmp$ret$
|
|
55913
|
+
var tmp$ret$11 = toBidType(item_1);
|
|
55914
|
+
destination_1.e(tmp$ret$11);
|
|
55914
55915
|
}
|
|
55915
|
-
|
|
55916
|
+
tmp_16 = destination_1;
|
|
55916
55917
|
}
|
|
55917
|
-
var
|
|
55918
|
-
var
|
|
55919
|
-
if (
|
|
55920
|
-
|
|
55918
|
+
var tmp14_safe_receiver = tmp_16;
|
|
55919
|
+
var tmp_17;
|
|
55920
|
+
if (tmp14_safe_receiver == null) {
|
|
55921
|
+
tmp_17 = null;
|
|
55921
55922
|
} else {
|
|
55922
55923
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
55923
|
-
|
|
55924
|
+
tmp_17 = copyToArray(tmp14_safe_receiver);
|
|
55924
55925
|
}
|
|
55925
|
-
var
|
|
55926
|
-
var
|
|
55927
|
-
if (
|
|
55926
|
+
var tmp15_elvis_lhs = tmp_17;
|
|
55927
|
+
var tmp_18;
|
|
55928
|
+
if (tmp15_elvis_lhs == null) {
|
|
55928
55929
|
// Inline function 'kotlin.emptyArray' call
|
|
55929
|
-
|
|
55930
|
-
} else {
|
|
55931
|
-
|
|
55932
|
-
}
|
|
55933
|
-
var
|
|
55930
|
+
tmp_18 = [];
|
|
55931
|
+
} else {
|
|
55932
|
+
tmp_18 = tmp15_elvis_lhs;
|
|
55933
|
+
}
|
|
55934
|
+
var tmp42_bidTypes = tmp_18;
|
|
55935
|
+
var tmp_19 = map.k2('needToPutHigherTrump');
|
|
55936
|
+
var tmp16_elvis_lhs = (!(tmp_19 == null) ? typeof tmp_19 === 'boolean' : false) ? tmp_19 : null;
|
|
55937
|
+
var tmp43_needToPutHigherTrump = tmp16_elvis_lhs == null ? false : tmp16_elvis_lhs;
|
|
55938
|
+
var tmp_20 = map.k2('trumpCardStepPartnerMode');
|
|
55939
|
+
var tmp17_safe_receiver = (!(tmp_20 == null) ? typeof tmp_20 === 'string' : false) ? tmp_20 : null;
|
|
55940
|
+
var tmp18_elvis_lhs = tmp17_safe_receiver == null ? null : toTrumpCardStepPartnerMode(tmp17_safe_receiver);
|
|
55941
|
+
var tmp44_trumpCardStepPartnerMode = tmp18_elvis_lhs == null ? TrumpCardStepPartnerMode_ANY_TRUMP_CARD_getInstance() : tmp18_elvis_lhs;
|
|
55934
55942
|
var tmp_21 = map.k2('protectBella');
|
|
55935
55943
|
var tmp19_elvis_lhs = (!(tmp_21 == null) ? typeof tmp_21 === 'boolean' : false) ? tmp_21 : null;
|
|
55936
|
-
var
|
|
55944
|
+
var tmp45_protectBella = tmp19_elvis_lhs == null ? false : tmp19_elvis_lhs;
|
|
55937
55945
|
var tmp_22 = map.k2('oneTryToProtectBella');
|
|
55938
55946
|
var tmp20_elvis_lhs = (!(tmp_22 == null) ? typeof tmp_22 === 'boolean' : false) ? tmp_22 : null;
|
|
55939
|
-
var
|
|
55947
|
+
var tmp46_oneTryToProtectBella = tmp20_elvis_lhs == null ? false : tmp20_elvis_lhs;
|
|
55940
55948
|
var tmp_23 = map.k2('enableFourSevensCombination');
|
|
55941
55949
|
var tmp21_elvis_lhs = (!(tmp_23 == null) ? typeof tmp_23 === 'boolean' : false) ? tmp_23 : null;
|
|
55942
|
-
var
|
|
55950
|
+
var tmp47_enableFourSevensCombination = tmp21_elvis_lhs == null ? false : tmp21_elvis_lhs;
|
|
55943
55951
|
var tmp_24 = map.k2('enableTrumpSevenCombination');
|
|
55944
55952
|
var tmp22_elvis_lhs = (!(tmp_24 == null) ? typeof tmp_24 === 'boolean' : false) ? tmp_24 : null;
|
|
55945
|
-
var
|
|
55953
|
+
var tmp48_enableTrumpSevenCombination = tmp22_elvis_lhs == null ? false : tmp22_elvis_lhs;
|
|
55946
55954
|
var tmp_25 = map.k2('enableTrumpSevenCombinationAfterDistribution');
|
|
55947
55955
|
var tmp23_elvis_lhs = (!(tmp_25 == null) ? typeof tmp_25 === 'boolean' : false) ? tmp_25 : null;
|
|
55948
|
-
var
|
|
55956
|
+
var tmp49_enableTrumpSevenCombinationAfterDistribution = tmp23_elvis_lhs == null ? false : tmp23_elvis_lhs;
|
|
55949
55957
|
var tmp_26 = map.k2('checkTrumpCombination');
|
|
55950
55958
|
var tmp24_elvis_lhs = (!(tmp_26 == null) ? typeof tmp_26 === 'boolean' : false) ? tmp_26 : null;
|
|
55951
|
-
var
|
|
55959
|
+
var tmp50_checkTrumpCombination = tmp24_elvis_lhs == null ? false : tmp24_elvis_lhs;
|
|
55952
55960
|
var tmp_27 = map.k2('checkOnlyTrumpDebertz');
|
|
55953
55961
|
var tmp25_elvis_lhs = (!(tmp_27 == null) ? typeof tmp_27 === 'boolean' : false) ? tmp_27 : null;
|
|
55954
|
-
var
|
|
55962
|
+
var tmp51_checkOnlyTrumpDebertz = tmp25_elvis_lhs == null ? false : tmp25_elvis_lhs;
|
|
55955
55963
|
var tmp_28 = map.k2('distributePoints');
|
|
55956
55964
|
var tmp26_elvis_lhs = (!(tmp_28 == null) ? typeof tmp_28 === 'boolean' : false) ? tmp_28 : null;
|
|
55957
|
-
var
|
|
55965
|
+
var tmp52_distributePoints = tmp26_elvis_lhs == null ? false : tmp26_elvis_lhs;
|
|
55958
55966
|
var tmp_29 = map.k2('pointsDistributeMode');
|
|
55959
55967
|
var tmp27_safe_receiver = (!(tmp_29 == null) ? typeof tmp_29 === 'string' : false) ? tmp_29 : null;
|
|
55960
55968
|
var tmp28_elvis_lhs = tmp27_safe_receiver == null ? null : toPointsDistributeMode(tmp27_safe_receiver);
|
|
@@ -55971,20 +55979,20 @@
|
|
|
55971
55979
|
} else {
|
|
55972
55980
|
tmp_30 = tmp28_elvis_lhs;
|
|
55973
55981
|
}
|
|
55974
|
-
var
|
|
55982
|
+
var tmp53_pointsDistributeMode = tmp_30;
|
|
55975
55983
|
var tmp_33 = map.k2('enableFineIfNoBribes');
|
|
55976
55984
|
var tmp29_elvis_lhs = (!(tmp_33 == null) ? typeof tmp_33 === 'boolean' : false) ? tmp_33 : null;
|
|
55977
|
-
var
|
|
55985
|
+
var tmp54_enableFineIfNoBribes = tmp29_elvis_lhs == null ? false : tmp29_elvis_lhs;
|
|
55978
55986
|
var tmp_34 = map.k2('fineIfNoBribes');
|
|
55979
55987
|
var tmp30_elvis_lhs = (!(tmp_34 == null) ? typeof tmp_34 === 'number' : false) ? tmp_34 : null;
|
|
55980
|
-
var
|
|
55988
|
+
var tmp55_fineIfNoBribes = tmp30_elvis_lhs == null ? 50 : tmp30_elvis_lhs;
|
|
55981
55989
|
var tmp_35 = map.k2('enableFineAfterThirdByte');
|
|
55982
55990
|
var tmp31_elvis_lhs = (!(tmp_35 == null) ? typeof tmp_35 === 'boolean' : false) ? tmp_35 : null;
|
|
55983
|
-
var
|
|
55991
|
+
var tmp56_enableFineAfterThirdFailedContract = tmp31_elvis_lhs == null ? false : tmp31_elvis_lhs;
|
|
55984
55992
|
var tmp_36 = map.k2('fineAfterThirdFailedContract');
|
|
55985
55993
|
var tmp32_elvis_lhs = (!(tmp_36 == null) ? typeof tmp_36 === 'number' : false) ? tmp_36 : null;
|
|
55986
|
-
var
|
|
55987
|
-
return new Rules(tmp33_name, tmp34_playerWhoChooseSuitGoFirst, tmp35_winnerShuffleCards, tmp36_playWithoutLiabilities, tmp37_trumpCardGoToPlayerWhoShuffleCards, tmp39_dealerInitialCardsCount, tmp40_dealerFinalCardsCount, tmp38_dealerCounterClockwise, tmp41_contractTypes, tmp42_bidTypes, tmp43_needToPutHigherTrump, tmp44_trumpCardStepPartnerMode,
|
|
55994
|
+
var tmp57_fineAfterThirdFailedContract = tmp32_elvis_lhs == null ? 100 : tmp32_elvis_lhs;
|
|
55995
|
+
return new Rules(tmp33_name, tmp34_playerWhoChooseSuitGoFirst, tmp35_winnerShuffleCards, tmp36_playWithoutLiabilities, tmp37_trumpCardGoToPlayerWhoShuffleCards, tmp39_dealerInitialCardsCount, tmp40_dealerFinalCardsCount, tmp38_dealerCounterClockwise, tmp41_contractTypes, tmp42_bidTypes, tmp43_needToPutHigherTrump, tmp44_trumpCardStepPartnerMode, combinationTypes, tmp45_protectBella, tmp46_oneTryToProtectBella, tmp47_enableFourSevensCombination, tmp48_enableTrumpSevenCombination, tmp49_enableTrumpSevenCombinationAfterDistribution, tmp50_checkTrumpCombination, tmp51_checkOnlyTrumpDebertz, tmp52_distributePoints, tmp53_pointsDistributeMode, tmp56_enableFineAfterThirdFailedContract, tmp57_fineAfterThirdFailedContract, tmp54_enableFineIfNoBribes, tmp55_fineIfNoBribes);
|
|
55988
55996
|
}
|
|
55989
55997
|
function validateTimeoutTime($this, timeoutTime) {
|
|
55990
55998
|
if (!listOf_0([15, 30, 45]).v1(timeoutTime)) {
|