Пример #1
0
 def dealCards(self, sound=False):
     if not self.cards:
         RedealTalonStack.redealCards(self, sound=False)
     if sound and not self.game.demo:
         self.game.startDealSample()
     rows = self.game.s.rows
     rows = rows[:1]+rows[4:8]+rows[2:3]+rows[1:2]+rows[8:]+rows[3:4]
     num_cards = self.dealRowAvail(rows=rows)
     if sound and not self.game.demo:
         self.game.stopSamples()
     return num_cards
Пример #2
0
 def dealCards(self, sound=False):
     if not self.cards:
         RedealTalonStack.redealCards(self, sound=False)
     if sound and not self.game.demo:
         self.game.startDealSample()
     rows = self.game.s.rows
     rows = rows[:1] + rows[4:8] + rows[2:3] + rows[1:2] + rows[8:] + rows[
         3:4]
     num_cards = self.dealRowAvail(rows=rows)
     if sound and not self.game.demo:
         self.game.stopSamples()
     return num_cards
Пример #3
0
 def dealCards(self, sound=False):
     rows = self.game.s.rows
     reserves = self.game.s.reserves
     if not self.cards:
         RedealTalonStack.redealCards(self, rows=rows+reserves, sound=False)
     if sound and not self.game.demo:
         self.game.startDealSample()
     num_cards = 0
     if self.round != 4:
         num_cards += self.dealRowAvail(rows=[reserves[0]], flip=0)
     num_cards += self.dealRowAvail()
     if self.round != 4:
         num_cards += self.dealRowAvail(rows=[reserves[1]], flip=0)
     if not self.cards:
         for s in reserves:
             self.game.flipAllMove(s)
     if sound and not self.game.demo:
         self.game.stopSamples()
     return num_cards
 def dealCards(self, sound=False):
     rows = self.game.s.rows
     reserves = self.game.s.reserves
     if not self.cards:
         RedealTalonStack.redealCards(self, rows=rows+reserves, sound=False)
     if sound and not self.game.demo:
         self.game.startDealSample()
     num_cards = 0
     if self.round != 4:
         num_cards += self.dealRowAvail(rows=[reserves[0]], flip=0)
     num_cards += self.dealRowAvail()
     if self.round != 4:
         num_cards += self.dealRowAvail(rows=[reserves[1]], flip=0)
     if not self.cards:
         for s in reserves:
             self.game.flipAllMove(s)
     if sound and not self.game.demo:
         self.game.stopSamples()
     return num_cards
Пример #5
0
 def dealCards(self, sound=False):
     RedealTalonStack.redealCards(self, shuffle=True, sound=sound)
Пример #6
0
 def dealCards(self, sound=False):
     if not self.cards:
         RedealTalonStack.redealCards(self, frames=4, sound=sound)
     return self.dealRowAvail(sound=sound)
Пример #7
0
 def dealCards(self, sound=False):
     if not self.cards:
         RedealTalonStack.redealCards(self, frames=4, sound=sound)
     return self.dealRowAvail(sound=sound)
Пример #8
0
 def dealCards(self, sound=False):
     RedealTalonStack.redealCards(self, shuffle=True, sound=sound)