예제 #1
0
    def __init__(self):
        self.width = 1200
        self.heigth = 700
        self.blanco = sf.Color(250, 250, 250)
        self.negro =  sf.Color(0, 0, 0)
        self.window = sf.RenderWindow(sf.VideoMode(self.width, self.heigth), "DRAG BOX - PUZZLES (EASY)", sf.Style.Close)
        self.Evento = sf.Event()
        self.window.SetFramerateLimit(60)

        self.scores = Application.getScores(Application.username, "EASY")
    def __init__(self):
        self.width = 1200
        self.heigth = 700
        self.blanco = sf.Color(250, 250, 250)
        self.negro =  sf.Color(0, 0, 0)
        self.window = sf.RenderWindow(sf.VideoMode(self.width, self.heigth), "CARGO BOT - PUZZLES (TUTORIAL)", sf.Style.Close)
        self.Evento = sf.Event()
        self.window.SetFramerateLimit(60)
        self.sonidos = None

        self.scores = Application.getScores(Application.username, "TUTORIAL")
예제 #3
0
 def test_getScore(self):
     with self.assertRaises(IOError):
         Application.getScores("nestorhola","5jhhjhg")