raspberry_games_server_game_logic 1.8.485 → 1.8.486
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/Logic_Debertz-core.js
CHANGED
|
@@ -427,7 +427,7 @@
|
|
|
427
427
|
initMetadataForClass(BrowserCompressionService, 'BrowserCompressionService', BrowserCompressionService, VOID, [CompressionService], [2]);
|
|
428
428
|
//endregion
|
|
429
429
|
function GameEngineConfig() {
|
|
430
|
-
this.version = '1.8.
|
|
430
|
+
this.version = '1.8.486';
|
|
431
431
|
}
|
|
432
432
|
protoOf(GameEngineConfig).x42 = function () {
|
|
433
433
|
return this.version;
|
package/Logic_Debertz-engine.js
CHANGED
|
@@ -16733,7 +16733,7 @@
|
|
|
16733
16733
|
function _init_properties_CombinationsDtoMappers_kt__fk981j() {
|
|
16734
16734
|
if (!properties_initialized_CombinationsDtoMappers_kt_1nj0n) {
|
|
16735
16735
|
properties_initialized_CombinationsDtoMappers_kt_1nj0n = true;
|
|
16736
|
-
combinationTypeMapping = mapOf_0([to('THREE_IN_ROW', CombinationType_THREE_IN_ROW_getInstance()), to('FOUR_IN_ROW', CombinationType_FOUR_IN_ROW_getInstance()), to('FIVE_IN_ROW', CombinationType_FIVE_IN_ROW_getInstance()), to('SEVEN_IN_ROW', CombinationType_SEVEN_IN_ROW_getInstance()), to('SEVEN_TRUMP', CombinationType_SEVEN_TRUMP_getInstance()), to('WEAK_HAND', CombinationType_WEAK_HAND_getInstance()), to('FOUR_SEVENS', CombinationType_FOUR_SEVENS_getInstance()), to('FOUR_NINES', CombinationType_FOUR_NINES_getInstance()), to('FOUR_TENS', CombinationType_FOUR_TENS_getInstance()), to('FOUR_JACKS', CombinationType_FOUR_JACKS_getInstance()), to('FOUR_QUEENS', CombinationType_FOUR_QUEENS_getInstance()), to('FOUR_KINGS', CombinationType_FOUR_KINGS_getInstance()), to('FOUR_ACES', CombinationType_FOUR_ACES_getInstance()), to('BELA', CombinationType_BELA_getInstance()), to('FINE_NO_BRIBES', CombinationType_FINE_NO_BRIBES_getInstance()), to('FINE_THIRD_FAILED_CONTRACT', CombinationType_FINE_THIRD_FAILED_CONTRACT_getInstance()), to('BONUS_FAILED_CONTRACT', CombinationType_BONUS_FAILED_CONTRACT_getInstance()), to('BONUS_CONTROVERSIAL_CONTRACT', CombinationType_BONUS_CONTROVERSIAL_CONTRACT_getInstance()), to('BONUS_LAST_BRIBE', CombinationType_BONUS_LAST_BRIBE_getInstance()), to('BONUS_CAPOT', CombinationType_BONUS_CAPOT_getInstance())]);
|
|
16736
|
+
combinationTypeMapping = mapOf_0([to('THREE_IN_ROW', CombinationType_THREE_IN_ROW_getInstance()), to('FOUR_IN_ROW', CombinationType_FOUR_IN_ROW_getInstance()), to('FIVE_IN_ROW', CombinationType_FIVE_IN_ROW_getInstance()), to('SEVEN_IN_ROW', CombinationType_SEVEN_IN_ROW_getInstance()), to('SEVEN_TRUMP', CombinationType_SEVEN_TRUMP_getInstance()), to('WEAK_HAND', CombinationType_WEAK_HAND_getInstance()), to('FOUR_SEVENS', CombinationType_FOUR_SEVENS_getInstance()), to('WEAK_HAND', CombinationType_WEAK_HAND_getInstance()), to('FOUR_NINES', CombinationType_FOUR_NINES_getInstance()), to('FOUR_TENS', CombinationType_FOUR_TENS_getInstance()), to('FOUR_JACKS', CombinationType_FOUR_JACKS_getInstance()), to('FOUR_QUEENS', CombinationType_FOUR_QUEENS_getInstance()), to('FOUR_KINGS', CombinationType_FOUR_KINGS_getInstance()), to('FOUR_ACES', CombinationType_FOUR_ACES_getInstance()), to('BELA', CombinationType_BELA_getInstance()), to('FINE_NO_BRIBES', CombinationType_FINE_NO_BRIBES_getInstance()), to('FINE_THIRD_FAILED_CONTRACT', CombinationType_FINE_THIRD_FAILED_CONTRACT_getInstance()), to('BONUS_FAILED_CONTRACT', CombinationType_BONUS_FAILED_CONTRACT_getInstance()), to('BONUS_CAPOT', CombinationType_BONUS_CAPOT_getInstance()), to('BONUS_CONTROVERSIAL_CONTRACT', CombinationType_BONUS_CONTROVERSIAL_CONTRACT_getInstance()), to('BONUS_LAST_BRIBE', CombinationType_BONUS_LAST_BRIBE_getInstance()), to('BONUS_CAPOT', CombinationType_BONUS_CAPOT_getInstance())]);
|
|
16737
16737
|
combinationStateMapping = mapOf_0([to('ACCEPTED', CombinationState_ACCEPTED_getInstance()), to('NOT_ACCEPTED', CombinationState_NOT_ACCEPTED_getInstance()), to('VERIFYING', CombinationState_VERIFYING_getInstance()), to('NOT_VERIFIED', CombinationState_NOT_VERIFIED_getInstance()), to('REJECTED', CombinationState_REJECTED_getInstance()), to('CANCELED', CombinationState_CANCELED_getInstance())]);
|
|
16738
16738
|
combinationTypeMappingLegacy = mapOf_0([to('TERZ', CombinationType_THREE_IN_ROW_getInstance()), to('FIFTY', CombinationType_FOUR_IN_ROW_getInstance()), to('DEBERTZ', CombinationType_SEVEN_IN_ROW_getInstance()), to('SEVEN_TRUMP', CombinationType_SEVEN_TRUMP_getInstance()), to('FOUR_SEVENS', CombinationType_FOUR_SEVENS_getInstance()), to('BELLA', CombinationType_BELA_getInstance()), to('BONUS_AFTER_PLAYER_BYTE', CombinationType_BONUS_FAILED_CONTRACT_getInstance()), to('BONUS_HANGING_BYTE', CombinationType_BONUS_CONTROVERSIAL_CONTRACT_getInstance()), to('BONUS_LAST_BRIBE', CombinationType_BONUS_LAST_BRIBE_getInstance()), to('FINE_NO_BRIBES', CombinationType_FINE_NO_BRIBES_getInstance()), to('FINE_THIRD_BYTE', CombinationType_FINE_THIRD_FAILED_CONTRACT_getInstance())]);
|
|
16739
16739
|
combinationReasonMapping = mapOf_0([to('WIN_TRUMP_COMBINATION', CombinationReason_WIN_TRUMP_COMBINATION_getInstance()), to('WIN_HIGHER_COMBINATION', CombinationReason_WIN_HIGHER_COMBINATION_getInstance()), to('WIN_PARTNER_COMBINATION', CombinationReason_WIN_PARTNER_COMBINATION_getInstance()), to('WIN_HIGHER_PLAYER_NUMBER_COMBINATION', CombinationReason_WIN_HIGHER_PLAYER_NUMBER_COMBINATION_getInstance()), to('WIN_HIGHER_CARD_COMBINATION', CombinationReason_WIN_HIGHER_CARD_COMBINATION_getInstance()), to('WIN_SINGLE_COMBINATION', CombinationReason_WIN_SINGLE_COMBINATION_getInstance()), to('REJECTED_NOT_TRUMP_SEVEN_IN_ROW_COMBINATION', CombinationReason_REJECTED_NOT_TRUMP_SEVEN_IN_ROW_COMBINATION_getInstance())]);
|
|
@@ -60122,6 +60122,7 @@
|
|
|
60122
60122
|
var tmp4_gameHistory = this.uag_1.wai(player.playerId, listOf(announcedCombination.k7y_1), VOID, table.gameHistory);
|
|
60123
60123
|
return state.b9z(table.copy(VOID, VOID, VOID, VOID, tmp3_players, VOID, VOID, VOID, VOID, tmp2_cardDeck, VOID, VOID, tmp4_gameHistory));
|
|
60124
60124
|
case 6:
|
|
60125
|
+
case 7:
|
|
60125
60126
|
return state.b9z(table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.i7t(VOID, VOID, VOID, VOID, VOID, updatedPoints), get_byIdPlayerPredicate()(player.playerId)), VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.uag_1.wai(player.playerId, listOf(announcedCombination.k7y_1), VOID, table.gameHistory)));
|
|
60126
60127
|
default:
|
|
60127
60128
|
throw new MechanicException("Can't support this combination " + announcedCombination.toString());
|