@@ -0,0 +1,1129 @@
+package com.apixandru.games.rummikub.server;%0A%0Aimport com.apixandru.games.rummikub.brotocol.PacketHandler;%0Aimport com.apixandru.games.rummikub.brotocol.connect.client.PacketJoin;%0Aimport com.apixandru.games.rummikub.brotocol.connect.client.PacketReady;%0A%0Aimport java.util.HashMap;%0Aimport java.util.Map;%0A%0A/**%0A * @author Alexandru-Constantin Bledea%0A * @since March 30, 2016%0A */%0Apublic class WaitingRoomHandler %7B%0A%0A    private Map%3CString, Boolean%3E players = new HashMap%3C%3E();%0A%0A    private void playerJoined(final String playerName) %7B%0A        this.players.put(playerName, false);%0A    %7D%0A%0A    private void setReady(final String playerName, final boolean ready) %7B%0A        this.players.put(playerName, ready);%0A    %7D%0A%0A    private class JoinHandler implements PacketHandler%3CPacketJoin%3E %7B%0A%0A        @Override%0A        public void handle(final PacketJoin packet) %7B%0A            playerJoined(packet.playerName);%0A        %7D%0A%0A    %7D%0A%0A    private class ReadyHandler implements PacketHandler%3CPacketReady%3E %7B%0A%0A        @Override%0A        public void handle(final PacketReady packet) %7B%0A            setReady(packet.playerName, packet.ready);%0A        %7D%0A%0A    %7D%0A%0A%7D%0A

add waiting room handler