'; for (var i = 0; i < data.d.length; i++) { var cell = String.format(template, data.d[i].ShortName, data.d[i].IdName, data.d[i].CoverImagePath, BaseUrlWithLang + "GameInfo/"+data.d[i].IdName); firstRow.append(cell); } currentSuggestions = data.d; if (ID != '') { ServiceGetGameLikes(ID, GameLikesForSuggestionsCB); } } function GameLikesForSuggestionsCB(data) { var tr = $(""); for (var i = 0; i < currentSuggestions.length; i++) { tr.append(``); } $('#tblSuggestions').append(tr); for (var i = 0; i < currentSuggestions.length; i++) { var ddl = $("#ddlGameLike" + currentSuggestions[i].GameTypeId); for (var j = 0; j < i18next.t("GameLikeValues", { returnObjects: true }).length; j++) { if (j == 3) { $('', { value: j, text: i18next.t("GameLikeValues." + j), selected: true }).appendTo(ddl); } else { $('', { value: j, text: i18next.t("GameLikeValues." + j) }).appendTo(ddl); } } ddl.on("change", function (event) { GameLikeChanged(event); }); ddl.data("gametypeid", currentSuggestions[i].GameTypeId); var result = data.d.find(item => item.GameTypeId === currentSuggestions[i].GameTypeId); if (result) { ddl[0].selectedIndex = result.GameLikeLevel; } } } function GameLikeChanged(event) { const target = $(event.target); const gameTypeId = target.data("gametypeid"); const gameLikeValue = event.target.value; if (gameLikeValue == 0 || gameLikeValue == 4 || gameLikeValue == 5 || gameLikeValue == 6) { ServiceSetGameLike(gameTypeId, gameLikeValue, UpdateSuggestions); } else { ServiceSetGameLike(gameTypeId, gameLikeValue); } } function UpdateSuggestions() { $("#tblSuggestions").empty().append($("")); ServiceGetSugggestions(gameTypeId, 6, SuggestionSuccessCB, SuggestionsErrorCB); } function SuggestionsErrorCB() { $('#divSuggestions').parent().hide(); }
Lift Off -
Lift Off
2-4 , 60-120 ,
Jeroen Vandersteen
Kreativbunker
Nache Ramos
Andreas Resch
Hans im Glück
Z-Man Games
2021-01-16
Matthias (9M9K9)
Boardgamegeek 260757
2,79/5
TrueSkill*
Scholar matzebrei 1480
Itzamna 9M9K9 1465
Farmer Banker1105 1412
Astrologer 1844 1410
Chaac ASDBigmac 1409
Lay priest nullus 1393
Ahaucan jifka 1391
Itzamna beckerc 1383
Chaac Zanni 1363
Che-le Jack-Spirio 1355
*
*
Mayor Holyhead 259
Itzamna 9M9K9 237
Hermit daofagaco 218
Councillor whateveris 217
Ahaucan dschweie 214
Weaver DiMa 200
Chilan priest gelber.pöppel 165
Journeyman EbbesSpiele 162
Merchant Sewrendipity 148
Weaver Chris_the_fallen 143
*