'; 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(); }
Vikings -
Vikings
2-4 , 60 ,
Michael Kiesling
Michael Menzel
Harald Lieske
Hans im Glück
Rio Grande Games
2008-09-25
2021-11-20
(Stonecrusher)
Kai Aust (kai96)
John Crawford (lostdog)
Boardgamegeek 27173
2,54/5
TrueSkill*
Hermit tamihiko71b 1468
Ahmakiq Lono 1413
Itzamna tiger1 1390
Itzamna dali711 1368
Lay priestess Monash 1363
Ahaucan Miika 1356
Itzamna ttseppel 1321
Itzamna Tarewan 1317
Itzamna texaswer 1315
Astrologer 1844 1314
*
*
Ahaucan Miika 1539
Healer Craigus69 1061
Builder Stasati 831
Journeywoman Schnook 591
Chilan priest StefanWeber 569
Judge Patek 519
Councillor Asmodeuss 475
Shopkeeper stichus 471
Mayor PSquared 400
Chilan priest doc_adam 370
*