'; 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(); }
Carson City Cardgame -
Carson City Cards
4-6 , 30-45 ,
Xavier Georges
Alexandre Roche
Quined Games
2019-01-18
Bart De Cock (be_com4)
Boardgamegeek 248117
2,21/5
TrueSkill*
Itzamna TroyS 1519
Itzamna dali711 1457
Itzamna toc70 1456
Ahaucan signmanpro 1443
Fisherman ExpHat 1426
Chaac Midgardwanderer 1425
Itzamna pega001 1416
Che-le Celebi 1413
Fisherman ExpBoot 1399
Mayor Rashtulla 1397
*
*
Fisherman NovCactus 2167
Fisherman NovCow 2027
Fisherman NovBoot 1419
Fisherman AdvHat 512
Fisherman AdvCow 470
Fisherman AdvBoot 417
Mayor Rashtulla 338
Weaver mhendricks 287
Judge Amuroray 232
Hermit Minella 225
*