'; 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(); }
Stone Age -
Stone Age
2-4 , 60-90 ,
Bernd Brunnhofer
Michael Menzel
Hans im Glück
Rio Grande Games
2009-07-01
Kai Aust (kai96)
Boardgamegeek 34635
2,46/5
TrueSkill*
Councillor Strategix79 1629
Ix Chel sstackho 1573
Messenger Galgor 1533
Judge matzeloose 1507
Farmer adamekt 1496
Builder efreeman 1490
Astrologer ELL2020 1483
Astrologer magicmoose66 1482
Treasurer ChrisWithers 1472
Ahaucan Macky 1464
*
*
Hermit benjamin90 5084
Weaver Angie51 2838
Ahaucan chapa 2297
Chilan priest Corcoug 1671
Ahaucan zonny 1480
Hermit Bergradler 1455
Toolmaker Julie613 1446
Hermit Idefix 1287
Toolmaker AndreasJ 1279
Toolmaker DBennett 1228
*