     var cards:[Card] = []
     var shuffledCards:[Card] =  []
     var slotIncrement:Int = 0
-    var slotNumber:Int = 0
+    var slotKey:String = ""
     var gameSlot:GameSlot?
     var playerNames:[String] = []
+    var playerReferences:[DatabaseReference] = []
     var playerControllers:[Player] = []
     var restOfCards:[Card] = []
 

    /*
     *
     */
    func moveToNextGameSlot () {

        self.slotIncrement = (self.slotIncrement + 1) % self.maxNumberOfSlots

        if let f:Int = Int(self.firstSlotNumber) {

            let r:Int = f + self.slotIncrement
            self.slotNumber = r

        }

    }

    /*
     *
     */
    func keepPlayer0AndWaitForPlayer1 (with playerReferences:[DatabaseReference]) {

        let databaseReference = Database.database().reference()
        let referenceGameSlot = databaseReference.child("game/slots/list").child(String(self.slotNumber))

        let player0SessionId = GameSession.makeNewSessionId()
        


                    } else if (isPlayer0SlotFull && isPlayer1SlotFull) {

                        self.moveToNextGameSlot(referenceGameSlotList: referenceGameSlotList)

                        self.keepPlayer0AndWaitForPlayer1(with: playerReferences)

