'; 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(); }
Messina 1347 -
Messina 1347
1-4 , 45-120 ,
Vladimír Suchý (Vladimirs)
Raúl Fernández Aparicio
Michal Peichl
Delicious Games
2022-12-18
(Stonecrusher)
Boardgamegeek 238799
3,59/5
TrueSkill*
Shopkeeper Davnick 1631
Fisherman mataro3 1553
Monk Icke0987654321 1520
Itzamna alorak13 1498
Itzamna mjameson 1475
Itzamna elenion211 1471
Secretary Arcanix 1471
Builder bassano8 1420
Itzamna Xeres 1413
Ahaucan satupeka 1389
*
*
Weaver wroobelmarcin 219
Baker peanuts 191
Toolmaker Bochacalva 151
Chilan priest Rudiratlos42 93
Lay priest Don-Pedrinio 93
Baker Democrite 82
Secretary Arcanix 79
Hermit sunnymama 74
Chilan priestess woerlinsel 73
Ahaucan Tile 73
*