messages if they put bogus shit in their game definition.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@477 c613c5cb-e716-0410-b11b-feb51c14d237
and a new event: SizeChangedEvent.
So that games can query and listen for changes to the size of their
display area.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@470 c613c5cb-e716-0410-b11b-feb51c14d237
TableDirector.java already had this same code (and I wrote it!) so I
feel safe making the change.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@466 c613c5cb-e716-0410-b11b-feb51c14d237
own method, so that subclasses can get that behavior without assuming
their their superclass implementation of setFirstTurnHolder does that.
- Use that in EZ's code, and also fall back to it if there's some problem
with the user-specified next-turn value and it's nobody's turn.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@464 c613c5cb-e716-0410-b11b-feb51c14d237
- If the turn ends when it's nobody's turn and the user didn't specify
who goes next, pick a random player to go next.
- Fixed ancient bug that caused a NPE, every time. Nobody tickled it
by having a game where turns progress in a custom order.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@463 c613c5cb-e716-0410-b11b-feb51c14d237
end up differing in opinion about whether or not we're connected.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@456 c613c5cb-e716-0410-b11b-feb51c14d237
manager finish the startup process and then call startGame().
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@448 c613c5cb-e716-0410-b11b-feb51c14d237
game without quitting it). This also ensures they will get a fresh RoundStarted event at the
beginning of each new game.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@447 c613c5cb-e716-0410-b11b-feb51c14d237
rather endGame() should be called and the last round is never officially
"ended". This ensures that GameObject.roundId is left in a sane state at the
end of the game in case of a rematch.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@445 c613c5cb-e716-0410-b11b-feb51c14d237
potential weirdness if someone got into the room but never reported ready.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@443 c613c5cb-e716-0410-b11b-feb51c14d237
would start the game as soon as everyone had arrived and *one* person called playerReady(). Now
we do the right thing and only start the game once everyone has arrived and everyone has called
playerReady().
As with the old code, this only affects clients that use the playerInRoom() method.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@442 c613c5cb-e716-0410-b11b-feb51c14d237
have to do some things on the server as well which blindly ejects the user from
their current place, but now the worst case is that a player ends up nowhere in
the event of extreme lag and clicks the button to go somewhere again rather
than having a move half-completed get aborted and the code ending up confused
and not properly able to clean up after itself.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@436 c613c5cb-e716-0410-b11b-feb51c14d237
and write ratings once regardless of how many times the game is played.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@429 c613c5cb-e716-0410-b11b-feb51c14d237