Esempio n. 1
0
 def openPointTo(self):
     self.currentScreen.close()
     self.PointToInterf = pointToCard.pointToCardGame(
         self.screenLayout, database.getCardsToLearn(self.Table, 0, 9))
     self.PointToInterf.show()
     self.currentScreen = self.PointToInterf
     self.PointToInterf.leave.connect(self.displayHomeScreen)
Esempio n. 2
0
 def openMemory(self):
     self.currentScreen.close()
     self.MemoryInterf = memory.MemoryGameWindow(
         self.screenLayout, database.getCardsToLearn(self.Table, 0, 9))
     self.MemoryInterf.show()
     self.currentScreen = self.MemoryInterf
     self.MemoryInterf.leave.connect(self.displayHomeScreen)
Esempio n. 3
0
 def openVraiOuFaux(self):
     self.currentScreen.close()
     self.VFInterf = vraiOuFaux.vraiFauxGame(
         self.screenLayout, database.getCardsToLearn(self.Table, 0, 9))
     self.VFInterf.show()
     self.currentScreen = self.VFInterf
     self.VFInterf.leave.connect(self.displayHomeScreen)
Esempio n. 4
0
 def openHotAndCold(self):
     self.currentScreen.close()
     self.HCInterf = hotColdGame.hotColdGame(
         self.screenLayout, database.getCardsToLearn(self.Table, 0, 9))
     self.HCInterf.show()
     self.currentScreen = self.HCInterf
     self.HCInterf.leave.connect(self.displayHomeScreen)
Esempio n. 5
0
 def openDragAndDrop(self):
     self.currentScreen.close()
     self.DDInterf = dragAndDrop.dragDropGame(
         self.screenLayout, database.getCardsToLearn(self.Table, 0, 9))
     self.DDInterf.show()
     self.currentScreen = self.DDInterf
     self.DDInterf.leave.connect(self.displayHomeScreen)
Esempio n. 6
0
 def getCards(self):
     self.cardsToLearn = database.getCardsToLearn(self.Table, 0, 4)
     self.cardsToGoOver = database.getCardsToLearn(self.Table, 5, 9)
     self.cardsKnown = database.getCardsToLearn(self.Table, 10, 10)