make dice communicate via firebase