'; 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(); }
Mountain Goats -
Mountain Goats
2-5 , 20 ,
Stefan Risthaus
Anca Gavril
Daniel Profiri
Allplay
2022-05-01
Craig Chaney (coastliner)
Boardgamegeek 305985
1,17/5
TrueSkill*
Itzamna thekid 1458
Itzamna Rodraeg 1296
Hermit noname 1291
Healer Warrior62 1278
Itzamna 64OLOVO 1261
Itzamna yakowen 1254
Macom priest Ganerc 1250
Itzamna Madjer 1234
Itzamna prof43 1230
Itzamna mondscheiner 1230
*
*
Messenger doogyrev 4039
Ahaucan Jimboom 3917
Treasurer Tapsi 3031
Ix Chel ossi2 1625
Toolmaker Fansy 1597
Mayor Sunnie71 1289
Weaver tilde39 1138
Novitiate Kaiser 1096
Hermit bejeebies 1089
Chilan priest StefanWeber 1068
*