The Server doesn't care about the Spectators and should not be keeping
track of them.
On 26 Mar 2014 10:24, "DPenner" <notifications@github.com> wrote:

> In src/server/controllers/Server.java:
>
> > @@ -40,13 +40,16 @@
> >  	
> >  	public static final int MAX_PLAYERS = 4;
> >  	
> > -	protected Map<Integer, Player> players;
> > +	protected Map<Integer, Player> players; // maps playerId to player
> > +	private Map<Integer, Integer> peers; // maps peerId to playerId (absent or -1 for non-player peers)
>
> I thought about it, but wanted to keep the as much of the current
> architecture intact as possible. Spectators are non-player peers and I'm
> not sure if any of the rest of the Server code relies on this.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/oharaandrew314/3303Bomberman/pull/147/files#r10978041>
> .
>