'; 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(); }
Four in a row -
Four in a row
2
(MrLucky66)
2005-05-16
Kay Wilke (Sparhawk)
Boardgamegeek 2719
1,19/5
TrueSkill*
Hermit tamihiko71b 1633
Councillor Rautz 1517
Itzamna Fede 1506
Itzamna prof43 1483
Ahmakiq PhilAtLast 1475
Secretary trelos 1445
Treasurer rvv007 1433
Temple servant Squeeey 1430
Mayor Adatara 1414
Healer Philip.Cofield 1410
*
*
Mayor guenni 1514
Weaver Lilahammerhai 1446
Ahaucan zonny 1402
Hermit bigdaddy46 1270
Hermit Sparhawk 1259
Ix Chel anette 1057
Ahaucan Ehrenburgs 1005
Hermit Honka 812
Scholar Jacquelinneke 787
Chilan priest valamand61 774
*