                     }
 
                     referenceToAllGameSlots.child("lastSlot").setValue(["value": self.slotKey])
+                    self.setUpHandlerForRemotePlayerEvents()
 
                 }
         })

            let playerController = PlayerController(player: player, reference: self.playerReferences[playerNumber], isLocal: isPlayerLocal, node: playerNode, playerTop: playerTop, tableWidth: self.tableWidth, handSpace: self.handSpace, cardSpace: self.cardSpace, cardHeight: self.cardHeight, cardWidth: self.cardWidth, log: self.log)
            self.playerControllers.append(playerController)
            self.playerControllers[0].setName(name: playerName)

        }


class GamePlay {

    var numPlayers:Int = 0
    let maxNumPlayers:Int = 2
    var cards:[Card] = []
    var shuffledCards:[Card] =  []
    var slotIncrement:Int = 0
