func New(dom DOM, log Log, user User, game Game, lobby Lobby) *Socket {
	s := Socket{
		dom:   dom,
		log:   log,
		user:  user,
		game:  game,
		lobby: lobby,
	}
	return &s
}
// New creates a new socket.
New creates a new socket.
// New creates a new socket .
func New(dom DOM, log Log, user User, game Game, lobby Lobby) *Socket {
	s := Socket{
		dom:   dom,
		log:   log,
		user:  user,
		game:  game,
		lobby: lobby,
	}
	return &s
}
func New ( dom DOM , log Log , user User , game Game , lobby Lobby ) * Socket { s := Socket { dom : dom , log : log , user : user , game : game , lobby : lobby , } return & s }
New creates a new socket.
New creates a new socket .