Retrieving alters in sorted order
Closed this issue · 2 comments
amaatouq commented
In our current implementation of game.players.find(p => p._id === alterId)
how would we sort the displayed list in terms of cumulativeScore
for example?
npaton commented
Until we get better Network functions, maybe: _.sortBy(players, p => p.get("score"))
amaatouq commented
Makes sense to use this pure javascript approach until we add the Network functions.