'; 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(); }
Tyrus -
Tyrus
2 , 30 ,
Laurent Escoffier
David Franck
Jérome Caproni
Eurogames
2009-02-25
Kai Aust (kai96)
Boardgamegeek 10520
1,85/5
TrueSkill*
Chaac Bifur 1334
Juror enzflo-peace 1324
Chaac Dnalor 1319
Itzamna ContrapuntalAnt 1316
Itzamna jvick25 1314
Itzamna Marc1974 1304
Itzamna tucnak64 1302
Ahmakiq Possom 1300
Ahaucan Tataria 1251
Chilan priestess daffe 1251
*
*
Mayor guenni 4128
Hermit lunaflute 2779
Juror enzflo-peace 819
Hermit brillie2 681
Chaac Bifur 447
Ahaucan PELUTODU 328
Hermit harpo 317
Juror Kai96 296
Ix Chel actuaryesquire 294
Builder ridx 245
*