'; 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(); }
Skyline -
Skyline
2-4 , 15 ,
David Short (dshortdesign)
Gavan Brown
David Short (dshortdesign)
Tasty Ministrel Games
2013-11-15
Mike Lietz (mikelietz)
Boardgamegeek 121423
1,28/5
TrueSkill*
Hermit Sparhawk 1214
Lay priestess Monash 1211
Itzamna nursejack 1200
Itzamna hgfdsa 1183
Lay monk Snoozefest 1175
Ahaucan Tabou12 1175
Monk dshortdesign 1173
Chilan priest bnevs18 1170
Ahaucan Catharsis 1168
Ahaucana Laurynne 1151
*
*
Mayor Orn-Belter 3716
Astrologer Charlie1 3002
Ahaucana lilalupus 2568
Mayor guenni 1952
Healer Craigus69 1768
Macom priestess Anja 1679
Astrologer Tucson 1649
Weaver croissante 1583
Chilan priest The Marmot 1583
Hermit Castiel 1543
*