'; 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(); }
7 Steps -
7 Steps
2-4 ,
Michael Kiesling
Reinhard Staupe
Wolfgang Schmidts (SENSiT Communication)
Kosmos
2016-03-07
Alex Williams (AlexWilliams)
Boardgamegeek 161537
1,75/5
TrueSkill*
Ahaucan Anja67 1436
Healer matia 1423
Itzamna matztias 1413
Itzamna prof43 1397
Itzamna kylo 1325
Ahmakiq Zocker78 1321
Itzamna jvick25 1315
Itzamna abreiten 1315
Ix Chel Chuck 1312
Ahaucan Gaizhi 1311
*
*
Ahaucana lilalupus 2607
Weaver croissante 2218
Itzamna prof43 1586
Secretary rospont 1542
Chilan priestess kira13 1225
Messenger rombine61 1202
Baker Atokirina 785
Secretary hmmzobba 741
Hermit annetante 684
Chilan priest zolk 679
*