aiannacc / Goko-Salvager

Enhance your Dominion Online experience!
13 stars 9 forks source link

Sort available players first in the lobby #196

Open amalloy opened 10 years ago

amalloy commented 10 years ago

I don't really care about all the high-level players in a room, if they're busy playing a game with someone else. Instead, I'd like to know who are the highest-level players available to play against at the moment. A solution that seems reasonable to me is to move everyone who's in the middle of a game to the bottom of the list.

aiannacc commented 10 years ago

It would be nice to drop ormark out long-idle players too, but I don't know of a way to do that. What you want can be achieved by listening to the mtgRoom.conn object for "tableState" events (or something like that). I think the autokick module works like that.