'; 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(); }
Two by Two -
Two by Two
2-4 ,
Rob Bartel (RobBartel)
Patrick LaMontagne
Mark Poole
Valley games
2011-01-25
Aitor (ArkTheLad)
Boardgamegeek 66608
1,5/5
TrueSkill*
Itzamna EzeBig 1355
Itzamna prof43 1345
Hermit tamihiko71b 1337
Itzamna dali711 1336
Itzamna thekid 1335
Itzamna mondscheiner 1332
Itzamna Keng_Ho 1318
Che-le iklinck 1308
Itzamna texaswer 1304
Itzamna jvick25 1302
*
*
Hermit Vortexsurfer 3076
Weaver tilde39 2977
Hermit lunaflute 1985
Weaver croissante 1594
Hermit Knittingfan 1525
Chilan priestess kira13 1481
Juror Yossarian 1444
Baker Mick1973 1258
Messenger jha42 1159
Ahaucana energieriegel 1146
*