'; 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(); }
Carcassonne Hunters and Gatherers -
Carcassonne H&G
2-5 ,
Klaus-Jürgen Wrede
Johann Rüttinger
Hans im Glück
Rio Grande Games
2007-06-02
2015-11-01
(BloodyMary)
Kay Wilke (Sparhawk)
Boardgamegeek 4390
1,92/5
TrueSkill*
Ahaucan kostra 1391
Builder marmot66 1379
Farmer poo-tee-weet 1376
Healer matia 1373
Che-le Cassiopeia 1369
Itzamna thekid 1355
Journeyman goforit 1346
Astrologer Rapharoni 1341
Judge DrWinslow 1339
Scholar whatwhat 1336
*
*
Monk mojo 6463
Weaver Travi 4645
Treasurer Juleb 4478
Baker diamondace 3724
Baker Gameguy 3639
Hermit Geral 3635
Fisherwoman Schnucke 3508
Chilan priest smegol 3342
Hermit regenwald 2919
Ahaucan Ehrenburgs 2598
*